substr($mystring,0,1); #the first parameter is your string.. the second is the start index, and the third is the length of your substring