grapheme_stristr()
grapheme_stristr - Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.
Syntax
string grapheme_stristr (
string $haystack,
string $needle,
bool $before_needle)
Arguments
- haystack - The input string. Must be valid UTF-8.
- needle - The string to look for. Must be valid UTF-8.
- before_needle - If TRUE, grapheme_strstr() returns the part of the haystack before the first occurrence of the needle.
Description
Procedural style
Version
PHP 5.3.0, PECL intl >= 1.0.0
Return value
Returns the portion of $haystack, or FALSE if $needle is not found.