$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");
pos = strpos($current_url, "workspace/detail/live-streaming/service")
=> if pos > 0 found with the current position pos
=> if pos < 0 not found
=> if pos = 0 => found with current position = 0;