You could use  http://ant.apache.org/manual/Tasks/pathconvert.html
<pathconvert>  and a 
http://ant.apache.org/manual/Types/mapper.html#script-mapper scriptmapper 


 <property name="mixed" value="Foo_Baa"/>

  <pathconvert property="converted">
   <path path="${mixed}"/>
   <chainedmapper>
    <flattenmapper/>
    <scriptmapper language="javascript">
     self.addMappedName(source.toLowerCase());
    </scriptmapper>
    </chainedmapper>
  </pathconvert>

  <echo>${converted}</echo>
-- 
View this message in context: 
http://ant.1045680.n5.nabble.com/make-a-string-lowercase-tp1352626p3331823.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