|
PHP5中文手册
mb_stristr(PHP 5 >= 5.2.0) mb_stristr — Finds first occurrence of a string within another, case insensitive 说明
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. 参数
返回值Returns the portion of haystack , or FALSE if needle is not found. |