Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existance of a Carriage return in a RichTextBox
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Existance of a Carriage return in a RichTextBox
Miscellaneous
Thread ID:
00951143
Message ID:
00951143
Views:
42
I have a richtextbox, actually a mmRichTextBox.

I want to determine which line has a value.

Things i know :
It has a array that is called lines and i can get each line.
I am loopiong through each line now.

How do i determine if the line is just a carriage return or it has text and a carriage return. I can tell by the length but this is un reliable, as a letter 't' will be the same length as just a carriage return.

I have tried compareto, endswith, but to no avail, does it return the right bool or int value.

Thanks!
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Next
Reply
Map
View

Click here to load this message in the networking platform