vbCrLf ?

  • Thread starter Thread starter ad
  • Start date Start date
Although both "\r\n" and System.Environment.NewLine will usually do, be aware
that "\r\n" is unambiguous while System.Environment.NewLine may change
depending on the environment the app is running on. So if you're producing
text files where you *really* want it to be "\r\n" regardless of the
environment where your app is running, then you had better use that to be
safe.

David Anton
www.tangiblesoftwaresolutions.com
Home of:
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
 
Back
Top