Hi Frank

if not possible, how can I remove the CRLF

from a String-Property read in with <loadfile …> ?


If you want to remove the end in a string property you could use the string functions :

http://nant.sourceforge.net/release/latest/help/functions/string.trim-end.html
or
http://nant.sourceforge.net/release/latest/help/functions/string.replace.html

with a call like :

<property name="ActRevision" value="${string::trim-end(ActRevision)}"/>

cheers

Thibaut Barrère
http://www.dotnetguru2.org/tbarrere

Reply via email to