vbcrlf

  • Thread starter Thread starter Bill Yin
  • Start date Start date
there is no such constant
you can use Environment.NewLine or "\r\n"

Regards
Martin
 
Bill Yin said:
VB---vbcrlf
C#---??????

"\r\n" or the characters '\r' & '\n'.

Depends on what you want specifically. In C# strings are escaped, so there
are a series of escape characters that can be used to input values that
aren't normally input. for carraige return you have \r, for linefeed you
have \n, there are a number of others listed at
http://www.yoda.arachsys.com/csharp/faq/#escapes
 
Bill Yin said:
VB---vbcrlf
C#---??????

"\r\n"

There's also Environment.NewLine, which is the newline string for the
current platform (e.g. "\r\n" on Windows, "\n" on Unix)
 
Back
Top