Hi 

I have below requirement in ANT:-

variable1 = ${basedir}

now let us say from above statement "variable1" got the value  
C:\one\two\three\four

now i want to cut two levels from above path (so "C:\one\two" will be the
result after cut) and i want to reassign the value to varibale1. 

So, if i give echo ${variable1} it should give the path C:\one\two

Could someone please help me on how to get it.
-- 
View this message in context: 
http://old.nabble.com/Help-needed-for-Appache-ANT-tp26500160p26500160.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to