note 47668 added to function.ucfirst
| From: | pjoe444 at yahoo dot com | Date: | Wed, 24 Nov 2004 14:20:51 +0000 |
| Subject: | note 47668 added to function.ucfirst | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80977@lists.php.net to get a copy of this message | ||
So why not an
lcfirst() function
to do the OPPOSITE (turn the first letter to lowercase) ?
That's what I've been looking for (without having to do a workaround via substr_replace
etc)
Seems odd to have one possibility and not the other, after all there's strtolower() as well as
strtoupper() ...
----
Manual Page -- http://www.php.net/manual/en/function.ucfirst.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47668
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47668&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47668&report=yes
Search -- http://master.php.net/manage/user-notes.php