G
Guest
If you simply wanted to see if the string contained the substring:
string myString = "Sent by Mel @4:20";
bool found = false;
if (myString.IndexOf("Mel") >= 0)
{
found = true;
}
Pete
string myString = "Sent by Mel @4:20";
bool found = false;
if (myString.IndexOf("Mel") >= 0)
{
found = true;
}
Pete