php string at index code example Example: strpos $mystr = 'abc'; $findMe = 'a'; $position = strpos($mystr, $findMe);