title: Remove prefix from string in Groovy
body: <p>I need to remove prefix from String in Groovy if it begins the string (no action otherwise).</p>
  
  <p>If prefix is <code>groovy</code>:</p>
  
  <ul>
  <li>for <code>groovyVersion</code>  I expect <code>Version</code></li>
  <li>for <code>groovy</code> I expect empty string</li>
  <li>for <code>spock</code> I expect <code>spock</code></li>
  </ul>
  
  <p>Right now I use <code>.minus()</code>, but when I do</p>
  
  <pre><code>'library-groovy' - 'groovy'
  </code></pre>
  
  <p>then as a result I get <code>library-</code> instead of <code>library-groovy</code>.</p>
  
  <p>What's the groovy way to achieve what I want?</p>