Function mb_stripos
Finds position of first occurrence of a string within another, case insensitive
Package: WPGlobus\Compat
Link: http://php.net/manual/en/function.mb-stripos.php
Located at includes/compat/mbstring.php
Link: http://php.net/manual/en/function.mb-stripos.php
Located at includes/compat/mbstring.php
Parameters summary
string |
$haystack |
The string from which to get the position of the first occurrence of needle |
string |
$needle |
The string to find in haystack |
integer |
$offset = null |
[optional] The position in haystack to start searching |
string |
$encoding = null // @formatter:on |
[optional] Character encoding name to use. If it is omitted, internal character encoding is used. |
Return value summary
integer
|
Return the numeric position of the first occurrence of needle in the haystack string, or false if needle is not found. |