note 32627 added to function.ucfirst

From: Date: Tue, 03 Jun 2003 11:40:20 +0000
Subject: note 32627 added to function.ucfirst
Groups: php.notes 
Request: Send a blank email to php-notes+get-49613@lists.php.net to get a copy of this message
Please note that ucfirst() will only change the first character of the string: ucfirst('TESTING'); will return TESTING If you want to obtain 'Testing' you should use: ucfirst(strtolower('TESTING')); ---- Manual Page -- http://www.php.net/manual/en/function.ucfirst.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32627 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32627&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32627&report=yes

« previous php.notes (#49613) next »