finding character in string php code example Example: php find string in string $pos = strpos("find the position of X in here", "X");