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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]