Showing posts with label php function strpos. Show all posts
Showing posts with label php function strpos. 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
?>