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