T
Thejan Mendis
Hi all,
I need to check whether my richtextbox contain any blank line. the source I
try to used in below. but it not reflect the output I need. basically I
need the collect the paragraph by paragraph text in a the rich text box to a
string array.
THEJAN
// Source
for(int counter=0; counter < tempArray.Length;counter++)
{
string mask = "\r\n";
if (tempArray[counter] == mask)
{
MessageBox.Show("Bingo I found a Blank Para Separation");
}
else
{
//MessageBox.Show(tempArray[counter]);
MessageBox.Show("No New Line Found..");
}
}
I need to check whether my richtextbox contain any blank line. the source I
try to used in below. but it not reflect the output I need. basically I
need the collect the paragraph by paragraph text in a the rich text box to a
string array.
THEJAN
// Source
for(int counter=0; counter < tempArray.Length;counter++)
{
string mask = "\r\n";
if (tempArray[counter] == mask)
{
MessageBox.Show("Bingo I found a Blank Para Separation");
}
else
{
//MessageBox.Show(tempArray[counter]);
MessageBox.Show("No New Line Found..");
}
}