note 55492 added to function.strtolower
| From: | Christian at solid-webworks dot com | Date: | Thu, 04 Aug 2005 20:44:20 +0000 |
| Subject: | note 55492 added to function.strtolower | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-93101@lists.php.net to get a copy of this message | ||
In reply to jbr at ya-right dot com's post handling with strtolower(), strtoupper() and the
even faster strtr() I have to add a remark:
If you use strtr() you need to add all characters you want to get changed into upper. For example,
for Germany you need to add ä <-> Ä, ö <-> Ö, ü <-> Ü, for france é
<-> É and so on.
If this is no problem for you (maybe because you know that these won't appear in the Strings
you operate on) you really should use strtr() instead. Otherwise, keep using strtolower() or add all
characters available ;) (let me know if you did this)
----
Manual Page -- http://www.php.net/manual/en/function.strtolower.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55492
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55492&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55492&report=yes
Search -- http://master.php.net/manage/user-notes.php