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