functions-online

strpos

description

Returns the numeric position of the first occurrence of $needle in the $haystack string. Unlike the strrpos() before PHP 5, this function can take a full string as the $needle parameter and the entire string will be used.

declaration of strpos

mixed strpos ( string $haystack , string $needle [, int $offset ] )

test strpos online










share strpos

comments for strpos

be the first

No comments so far for strpos(). Leave yours as first below.

+

Leave your comment