hi, i have a question about string.
string a = "1 2 2 4 5";
string b = "2 5";
if (a.Substring(b)) // or need use contains?
{
Console.WriteLine("yes");
}
else
Console.WriteLine("No");
}
I want to check that if "2 5" is in a, then it will print "yes", i had tried Contains() before but it cannot, how should do?