string - Replacing characters in Ant property -


Is there an easy way to take the value of an asset and then copy it with some special characters?

Say propa = this is a value . I want to convert it everywhere to underscore, resulting in propb = this_is_a_value .

I think you want:

  & Lt; Propertyregex property = "propb" input = "$ {propa}" regexp = "" replace = "_" global = "true" />  

Unfortunately, given examples are not very clear Is trying but it is worth trying to do that. If you do not have any underscores, then you should also check that you also have to use the defaultValue option.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -