stristr

 string stristr ( string $haystack , mixed $needle [, bool $before_needle = false ] ) 

説明

Returns all of haystack from the first occurrence of needle to the end.

戻り値

Returns the matched substring. If needle is not found, returns FALSE.