ooananoo
May 13th, 2001, 10:45 AM
What is the newline character in VB? I know in C++ is "\n"
|
Click to See Complete Forum and Search --> : new line character ooananoo May 13th, 2001, 10:45 AM What is the newline character in VB? I know in C++ is "\n" Cakkie May 13th, 2001, 12:27 PM You can use vbCrLf (carridge return line feed), vbCr (Carridge return) or vbLf (linefeed). You can use them like this strTest = "This is a test" & vbcrlf & "This is a new line" Tom Cannaerts slisse@planetinternet.be Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook d.paulson May 13th, 2001, 01:33 PM vbNewLine David Paulson Cimperiali May 14th, 2001, 02:15 AM ... and you can also use: mystring = "aaa" & chr$(13) & chr$(10) & "bbb" Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |