Krist van Besien wrote:

>Hello,
>
>I am trying to figure out if I could get ant to do some string manipulation.
>Suppose I have a property with value: "foo_0.01
>and I want to split this on the _ character  and put "foo" and "0.01"
>each in a different property to use further down in my ant script.
>
>How would I do this?
>
>Krist
>
>
>
>  
>

use PropertyRegex task from ant-contrib library
http://ant-contrib.sourceforge.net/tasks/tasks/index.html

gl, Jim Fuller
<http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to