Just a note too that \r is carriage return and \n is line feed, so if all
you want is line feed then \n is enough. When printing to the old style
printers you can simply go down a line with the \n.
Also, note that Apple performs both a carriage return and a line feed when
you do a \n by itself, where as Microsoft requires both.
JIM
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
J.S. <js*@nospam.com> wrote: System.Environment.NewLine
No, that's not the equivalent to vbCrLf. "\r\n" is the equivalent to
vbCrLf. Environment.NewLine is whatever the normal new line is *for the
platform you're running on* - on platforms other than Windows, it may
well not be "\r\n".
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too