how to get start three character of string in php code example Example: print only some characters of a string in php substr(string,start,length)