title: How to get substring of a string in ANT property
body: <p>I have a requirement to get a substring out of a string in to <a href="/questions/tagged/ant" class="post-tag" title="show questions tagged &#39;ant&#39;" rel="tag">ant</a> property.</p>
  
  <p>Example string:</p>
  
  <pre><code>1=tibunit-1.4.2.projlib\=
  </code></pre>
  
  <p>I want to extract the part before <code>.projlib\=</code> and after the first <code>=</code>.</p>
  
  <p>The result should be:</p>
  
  <pre><code>tibunit-1.4.2
  </code></pre>
  
  <p>Any ideas?</p>