Coding
03-21-2008, 04:49 PM
Is it possible to use ->Contains to Select "how" in the textBox if this word was found or
is there anyway to search for a word in a textBox and Select this word if this word is found ?
String^ str = "how";
if (richtextBox1->Text->Contains(str))
{
MessageBox:: Show("found how");
//Try to select this word
}
is there anyway to search for a word in a textBox and Select this word if this word is found ?
String^ str = "how";
if (richtextBox1->Text->Contains(str))
{
MessageBox:: Show("found how");
//Try to select this word
}