Suggestion for implementation "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, without substr(), substr_replace() etc workarounds After all there are both strtoupper() and strtolower() functions. String manipulations on sentences can find uses for both ucfirst() and lcfirst()functions, and (for example) with Mysql systems of related larger and smaller tables with corresponding uppercase/lowercase first letter in mixed case names -- and no doubt there are other possibilities of use. [ Note: Some may argue that the reason that there's no lcfirst() is that sentences are usually lowercase apart from the first letter, so that strtolower() may be all that's needed in such a 'reverse operation. However: uppercase is of course found within sentences too, eg for names (and even for nouns in some languages), and with modern texting/email writing/intercapping practices that argument also applies less than before, - and apart from uses for an lcfirst() beyond sentence manipulation, as already mentioned. ] ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de