Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Existance of a Carriage return in a RichTextBox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Existance of a Carriage return in a RichTextBox
Divers
Thread ID:
00951143
Message ID:
00951143
Vues:
43
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform