string qwe = "ABCD";
if(qwe.StartsWith("A") && qwe.EndsWith("D"))
{
MessageBox.Show("Message");
}
What I need is to make also a decision for B and C but not StartsWith and EndsWith, it's really hard for me to explain but just like this:
if(qwe.Second("B"))
{
//Do anything
}
and
if(qwe.Third("C"))
{
//Do anything
}