Showing posts with label strpos function. Show all posts
Showing posts with label strpos function. Show all posts

Thursday, 26 July 2012

strrpos() function

Finds position of the last occurance from a string.
e.g
$str = 'abcd';
$chkStr = 'b';
echo strpos($str,$chkStr); // output will be: 1
?>