|
-
May 13th, 2001, 10:45 AM
#1
new line character
What is the newline character in VB? I know in C++ is "\n"
-
May 13th, 2001, 12:27 PM
#2
Re: new line character
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
[email protected]
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
-
May 13th, 2001, 01:33 PM
#3
-
May 14th, 2001, 02:15 AM
#4
Re: new line character
... 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.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|