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
With the code d.Contains(b + a) you check if "You hit someone for 50 damage" contains "someonedamage". And this (i guess) you don't want.
d.Contains(b + a)
The + concats the two string of b and a.
You have to check it by
if(d.Contains(b) && d.Contains(a))