iconv_strrpos
iconv_strrpos
(PHP 5, PHP 7)
iconv_strrpos — Finds the last occurrence of a needle within a haystack
Description
int iconv_strrpos ( string $haystack , string $needle [, string $charset = ini_get("iconv.internal_encoding") ] )
Finds the last occurrence of a needle
within a haystack
.
In contrast to strrpos(), the return value of iconv_strrpos() is the number of characters that appear before the needle