substr

Example

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

Description

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

Return Values

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