PHP Find the position of a character in a string January 30, 2012 Pramod T P Leave a comment We can find out the position using the function strpos() that will return the position of a character Example <?php $string=”phpcodez.com”; echo strpos($string,”.”) // 8 ?>