|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
New line characterHi,
I'm creating some text based on certain parameters using a StringBuilder. I was wondering, how do I specify a newline character in VB.NET? Thanks, Roshawn Environment.NewLine, however you can use StringBuilder.AppendLine which will
automatically add a new line char at the end of the line. Rick Show quoteHide quote "Roshawn" <radawson***@yahoo.com> wrote in message news:ed9DUUOOHHA.1252@TK2MSFTNGP02.phx.gbl... > Hi, > > I'm creating some text based on certain parameters using a StringBuilder. > I was wondering, how do I specify a newline character in VB.NET? > > Thanks, > Roshawn "Roshawn" <radawson***@yahoo.com> schrieb: In addition to the other reply:> I'm creating some text based on certain parameters using a StringBuilder. > I was wondering, how do I specify a newline character in VB.NET? System-specific new line character sequence: 'Environment.NewLine'. System-independent new line character sequences: 'ControlChars.NewLine', 'ControlChars.CrLf', ..., 'vbNewLine', 'vbCrLf', ... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Problem running query in code
Make the value of MyObjectA equal to the value of MyObjectB? System.Net.Sockets.SocketException Error not CLS-compliant How to go to the next control? Automate file downloads Newbie Missing Something with Access DB Update Using VB .NET converting bitarray to int64 setting form properties during runtime Console application to generate Excel file |
|||||||||||||||||||||||