October 2005
Intermediate to advanced
372 pages
11h 35m
English
ucfirst()
string ucfirst ( string str )The ucfirst() function takes one string parameter and converts the first letter of the string to an uppercase character, leaving the others untouched.
$string = "i like to program in PHP";
$a = strtoupper($string);In that example, $a will be set to "I like to program in PHP".