Finding the position of a character in a string is quite easy !

$intPosition = strpos($string ,”.”);