You can use \r\n, but it's better to use Environment.NewLine, so when your code runs on BSD, it will use \n, or whatever else is needed.
Erick ----- Original Message ----- From: "Christopher Slowik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 25, 2002 4:37 PM Subject: [DOTNET] Inserting line feed into string with c# Hi, I'm using c# and am trying to figure out how to insert a line feed into a string variable. Like in perl you would use a \n. I can't seem to find how to use ascii characters. TIA -Chris You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
