
Inserting CRLF with String.Format
Example:
This is line 2.
This is line 3.";
MessageBox.Show(myString);
This code prints out:
This is line 1.
This is line 2.
This is line 3.
tabs, so you don't want to indent the second and third lines of the code
to make everything line up in the code editor, or you'll get something
like:
This is line 1.
This is line 2.
This is line 3.
It looks a sort of ugly in the code editor, because you actually have to
type lines 2 and 3 against the far left margin to get all three lines to
line up. Give it a try.
Karen Martinez
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!