New line in .NET

  • Thread starter Thread starter Ioannis Vranos
  • Start date Start date
I

Ioannis Vranos

What is the new line character for a TextBox/System::String/Clipboard?
'\n' seems to copy to ClipBoard a square symbol.






Best regards,

Ioannis Vranos
 
Ioannis said:
What is the new line character for a TextBox/System::String/Clipboard?
'\n' seems to copy to ClipBoard a square symbol.

probably \r\n

there is also a constant like Enviroment.NewLine. Don't have the docs
available right now and too lazy to google...

hth
 
Ben said:
probably \r\n

there is also a constant like Enviroment.NewLine. Don't have the docs
available right now and too lazy to google...


Yes I checked it and "\r\n" seems to work. Thanks for the tip.






Best regards,

Ioannis Vranos
 
Back
Top