ucfirst() but no lcfirst() ?

From: Date: Wed, 24 Nov 2004 14:29:47 +0000
Subject: ucfirst() but no lcfirst() ?
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26639@lists.php.net to get a copy of this message
PhP string manipulation: ucfirst() but no "lcfirst()" Given the handy ucfirst() function that turns the first letter of a string to uppercase, it seems a pity there's not the reverse also: an lcfirst() turning the first letter to lowercase. After all there are both strtoupper() and strtolower() functions. String manipulations splitting sentences can find an equal use for both a ucfirst() and lcfirst() functions, and I have seen I'm not the only one who has a Mysql system of larger and smaller tables with corresponding uppercase/lowercase first letter in the names -- and no doubt there are many other possibilities of use. ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

« previous php.mirrors (#26639) next »