get first word f string in php code example Example: print only some characters of a string in php substr(string,start,length)