Is there a way to pull a substring from an Ant property and place that substring into it\'s own property?
Since I prefer to use vanilla Ant, I use a temporary file. Works everywhere and you can leverage replaceregex to get rid of the part of the string you don't want. Example for munging Git messages: