$pos = str_contains("Is this word in this sentence", "word"); // $pos will return true if string contains word;