|
-
May 21st, 2006, 07:00 PM
#9
Re: [2.0] Newline?
As a little more explanation, Environment.NewLine is two character string containing a carriage return character ('\r') and a line feed character ('\n'). If you convert that to a char then you simply drop the line feed and get the carriage return. You haven't really specified what you're trying to do but you may be interested to know that both the TextBox and RichTextBox have a Lines property, which returns a string array of the Text split on the line breaks.
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
|