Is it possible to make a conditional CIN?

What I mean by this is, is it possible for an IF statement to perform a given action if the CIN includes a given word?
For instance, I'd like to give an answer to a question. ("How much do you weigh?" for example.) However, there are countless amounts of ways to formulate that one question. ("You weigh how much?" "What is your weight?" "Your weight is equivalent to:"). Therefore, I'd like to have a keyword within the if statement. In this case, it would obviously be "Weigh" and/or "weight."
How can I make something that says, for instance

if cin includes "weight", then do this?
Yes. read the string and determine what to do then.
1
2
getline(cin, input);
// if input contains "weight" etc 
Wow. That was a fast response! Thank you!
But pardon me if I'm such a noob at this. What would the operator for the word "Contains" be in that context? Would an equal sign work?
Wow. This is perfect. Thank you so much!
Topic archived. No new replies allowed.