ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Leung-Tack <>
Subject Parsing a file name and extract a substring with ant ?
Date Tue, 04 Jan 2005 20:35:47 GMT

Is it possible for ant to get a filename , parsing it
and get a substring of that filename for using it ??

What I want to do exactly in build.xml is:
        if  a file with *QAE.tar.gz exists then
          parse the that filename to get the substring from index 4 to 9
          use that substring
          do other things


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message