I want to know if a string contains a substring.
String examples:
"Hey boy, the cat is in the kitchen ?"
"I want to know if the dog is in the kitchen"
Substring:
"the ... is in the kitchen"
But I need to ignore the words "cat, dog", how can I do that?
string.include?
is not the right way because I want the complete sentence with "the" at the beginning.