ң

ucfirst

(PHP 3, PHP 4)

ucfirst - .

string ucfirst (string str)

, .

, '' locale. , "C" , umlaut-a, .

1. ucfirst()
$foo = 'hello world!'; $foo = ucfirst($foo); // Hello world! $bar = 'HELLO WORLD!'; $bar = ucfirst($bar); // HELLO WORLD! $bar = ucfirst(strtolower($bar)); // Hello world!

. strtolower() , strtoupper() ucwords() .


ң
trim ucwords