Re: CARRIAGE RETURN - LINE FEED - answer by Alex
Alex
Fri Dec 19 11:51:41 CST 2003
It's supposed to be \r\n
To help remember it imagine how the typewriter operates (right, like people
actually use them <g>)
When you are going to the next line it's Carriage Return (\r) followed by
New Line (\n), not the other way around
"Rob H" <anonymous@discussions.microsoft.com> wrote in message
news:09af01c3c63f$b2abaae0$a501280a@phx.gbl...
> Ok, I have slept and the magic fairy has made my code work
> now. For some reason, today all is working well. Don't I
> wish that would happen every morning. Anyway, "blah \n\r
> blah" works like a charm (using C# .NETCF). Thanks to all
> that helped me out.
> >-----Original Message-----
> >How do you put a carriage return and/or a linefeed in a
> >string. I am actually putting several line of text in a
> >Label but I need some blank lines in the middle of the
> >label.
> >Thanks for any help.
> >.
> >