Re: How to insert new line character in a string

2010-07-10 Thread Dadu The Dude
Use this my friend: This is the first line A & # x D ; (Remove Spaces) This is the second line B & # x D ; (Remove Spaces) This is the first line A This is the second line B Regards, Amit -- View this message in context: http://old.nabble.com/How-to-insert-

Re: How to insert new line character in a string

2005-08-22 Thread EJ Ciramella
You could also try ${line.separator} See: http://ant.apache.org/manual/CoreTasks/property.html http://ant.apache.org/manual/using.html#built-in-props http://java.sun.com/j2se/1.3/docs/api/java/lang/ System.html#getProperties() On Aug 22, 2005, at 1:10 PM, Andrew Goktepe wrote: On second glan

Re: How to insert new line character in a string

2005-08-22 Thread Andrew Goktepe
On second glance, it looks like that only applies to the fixlastline attribute. If you can't find any other solution, you could try the ugly way - put at the end of each line. I haven't tested this either. On 8/22/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote: > > Try setting eol="crlf":

Re: How to insert new line character in a string

2005-08-22 Thread Andrew Goktepe
Try setting eol="crlf": http://ant.apache.org/manual/CoreTasks/concat.html -Andrew On 8/22/05, Karunakar Chatla <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have following script where I am writing some text to file. > I wanted each of the lines in seperate line in the file. It is writing to