ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nat Gross <natgross.rentalsyst...@verizon.net>
Subject Last element of current directory name.
Date Tue, 25 Jan 2005 21:43:49 GMT
How do I get just the last element of the current directory.
Suppose basedir = dira/dirb/dirc. (Or any path for that matter.)

I need a property to = "Dirc". (1st character uppercased, if possible.)

For the pros out there it should be 123, but for me... forget it!

Thanks
-nat

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


Mime
View raw message