Mega Code Archive

 
Categories / Php / Strings
 

String ucfirst ( string str ) converts the first letter of the string to an uppercase character

<?     $string = "i like to program in PHP";     $a = strtoupper($string); ?>