ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nat Gross <>
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!


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

View raw message