note 32989 added to function.ucwords

From: Date: Fri, 13 Jun 2003 07:38:43 +0000
Subject: note 32989 added to function.ucwords
Groups: php.notes 
Request: Send a blank email to php-notes+get-50264@lists.php.net to get a copy of this message
The code I found actually works on servers properly this way: <?php $foo = 'hello world!'; $foo = ucfirst($foo); // Hello world! $bar = 'HELLO WORLD!'; $bar = ucfirst($bar); // HELLO WORLD! $bar = ucfirst(strtolower($bar)); // Hello world! echo "$bar\n"; echo "$foo\n"; ?> ---- Manual Page -- http://www.php.net/manual/en/function.ucwords.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32989 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32989&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32989&report=yes

« previous php.notes (#50264) next »