mb_stripos
mb_stripos
Finds position of first occurrence of a string within another, case insensitive
**mb_stripos** string $haystack string $needle int $offset $encoding
returns the numeric position of
the first occurrence of in the
string.
Unlike ,
is case-insensitive.
If is not found, it returns false.
mb_stripos``needle``haystack``mb_strpos``mb_stripos``needle
haystack
The string from which to get the position of the first occurrence
of
needle
needle
The string to find in
haystack
offset
The position in
to start searching.
A negative offset counts from the end of the string.
haystack
encoding
Return the numeric position of the first occurrence of
in the
string, or false if is not found.
needle``haystack``needle
-
If is greater than the length of , a will be thrown.
offset``haystack``ValueErrorstripos``strpos``mb_strpos