ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolai Kamenzky <kamen...@inf.fu-berlin.de>
Subject Replacing chars in a property
Date Wed, 14 Nov 2007 15:43:04 GMT
Hi folks!

I have a property which contains a path "C:\Documents and Settings 
\..." and I have to convert it to this format "c/Documents\ and\  
Settings/...". Thus I have to replace "\" with "/" and so on.

How do I do this? I can access my property with ${myProperty} and  
want to get another property with the replaced chars.

Cheers,
Nicolai

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


Mime
View raw message