php sub strinf code example
Example 1: php get part of string
substr ( $string , $start , $length );
/**Returns the extracted part of string;
*or FALSE on failure, or an empty string
*/
Example 2: print only some characters of a string in php
substr(string,start,length)