$pos = str_contains("Is this word in this sentence", "word");
// $pos will return true if string contains word;
#Text must be in double-quotes in brackets
echo strpos("Text to search within goes here", "search");
$pos = strpos("find the position of X in here", "X");