substr

 string substr ( string $string , int $start [, int $length ] ) 

説明

Returns the portion of string specified by the start and length parameters.

戻り値

Returns the extracted part of string, or FALSE on failure or an empty string.