ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Monteiro" <mrodri...@gmail.com>
Subject String manipulation
Date Wed, 25 Oct 2006 18:02:47 GMT
Hello all,

I'm new in Ant... so this might be an easy question.

I pass in the command line an parameter
ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
What I need to do is to get only the content of ${test} after the last
"/", in this case "tmp3".
How can I do that?

regards,
Rodrigo.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message