You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2007/06/26 05:58:09 UTC
svn commit: r550674 - /ant/sandbox/antlibs/props/trunk/docs/stringops.html
Author: mbenson
Date: Mon Jun 25 20:58:08 2007
New Revision: 550674
URL: http://svn.apache.org/viewvc?view=rev&rev=550674
Log:
refine stringops doc
Modified:
ant/sandbox/antlibs/props/trunk/docs/stringops.html
Modified: ant/sandbox/antlibs/props/trunk/docs/stringops.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/docs/stringops.html?view=diff&rev=550674&r1=550673&r2=550674
==============================================================================
--- ant/sandbox/antlibs/props/trunk/docs/stringops.html (original)
+++ ant/sandbox/antlibs/props/trunk/docs/stringops.html Mon Jun 25 20:58:08 2007
@@ -77,13 +77,13 @@
${x%%/*} <!-- yields foo -->
</pre>
- <p>Delete extension:</p>
+ <p>Delete extension (using delete shortest trailing match):</p>
<pre>
<!-- given ${x}=foo/bar/baz.ext -->
- ${x%%.*} <!-- yields foo/bar/baz -->
+ ${x%.*} <!-- yields foo/bar/baz -->
</pre>
- <p>Extract extension:</p>
+ <p>Extract extension (using delete longest leading match):</p>
<pre>
<!-- given ${x}=foo/bar/baz.ext -->
${x##*.} <!-- yields .ext -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org