php function to find substring in a string code example Example: php find string in string $pos = strpos("find the position of X in here", "X");