Re: Split lines in input stream

2008-08-04 Thread srimh2o
Thanks again, that worked better. Matt Benson wrote: > > > --- srimh2o <[EMAIL PROTECTED]> wrote: > >> >> Thanks, that worked. >> >> This is not just for testing purposes. My piece of >> build.xml looks like >> this:

Re: Split lines in input stream

2008-08-04 Thread srimh2o
st line. I can't figure out where they are getting inserted. does not seem to get rid of them. Any suggestions? Thanks for your help. Matt Benson wrote: > > > --- srimh2o <[EMAIL PROTECTED]> wrote: > >> >> If this is complicated is there any way I can ins

Re: Split lines in input stream

2008-08-04 Thread srimh2o
If this is complicated is there any way I can insert a linebreak between Hello and World? srimh2o wrote: > > Ahh, this is verbatim, but you are correct. The \r\n does not substitute > for CRLF (0x0d, 0x0a). Then what I would like to do is somehow specify > Hello world and then ge

Re: Split lines in input stream

2008-08-04 Thread srimh2o
If so,, part of your problem is the literal characters > \r and \n are note the escaped counterparts... > > Meaning if I had this: > > Hello r n World > > The r and the n are literals...and you'd see the same output as you are > seeing now... > > > >

Split lines in input stream

2008-08-04 Thread srimh2o
Hi, I have a string input that contains carriage return "\r\n" and I'd like to use ant to split that input into two separate lines. This is what I do. Hello \r\n World I'd like the output to look