Using string.Contains()

Okay, I’m using string.Contains to find if the inputted text contains certain phrases.

if (stringToEdit.Contains("hello")) {
print ("Hello, User.");
}

This sees if the User has typed hello, and initiates a response. However, for other things, it’s not checking all of the words; here’s a random example:

else if (stringToEdit.Contains("cheese")  ("favourite")) {
print ("Edam.");
}

This should initiate a response only when BOTH words are found, right? One problem- I only need to type the word ‘cheese’ in this to get the response. Not the desired effect. How can I alter this so it determines whether BOTH words are used, rather than seeing if one is there?

else if (stringToEdit.Contains("cheese")  stringToEdit.Contains("favourite")) {
print ("Edam.");
}

Wow, thanks alot :). Solved it completely.