how to display only 4o characters from a string php code example Example: print only some characters of a string in php substr(string,start,length)