Is it possible to have the contain function find if the string contains 2 words or more? This is what I\'m trying to do:
string d = \"You hit someone for 50
string d = "You hit someone for 50 damage"; string a = "damage"; string b = "someone"; string c = "you"; if(d.Contains(a) && d.Contains(b)) { Console.WriteLine(" " + d); } Console.ReadLine();