PHP Manual
mb_stristr
(no version information, might be only in CVS)
mb_stristr -- Finds first occurrence of a string within another, case insensitiveDescription
string mb_stristr ( string haystack, string needle [, bool part [, string encoding]] )
mb_stristr() finds the first occurrence of
needle in haystack
and returns the portion of haystack.
Unlike mb_strstr(),
mb_stristr() is case-insensitive.
If needle is not found, it returns FALSE.
Parameters
haystackThe string from which to get the first occurrence of
needleneedleThe string to find in
haystackpartDetermines which portion of
haystackthis function returns. If set to TRUE, it returns all ofhaystackfrom the beginning to the first occurrence ofneedle. If set to FALSE, it returns all ofhaystackfrom the first occurrence ofneedleto the end, Default value is FALSE.encodingCharacter encoding name to use. If it is omitted, internal character encoding is used.
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




