note 19404 deleted from function.strtoupper by derick
| From: | derick@php.net | Date: | Tue, 30 Aug 2005 11:05:22 +0000 |
| Subject: | note 19404 deleted from function.strtoupper by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94388@lists.php.net to get a copy of this message | ||
Note Submitter: developer at i-space dot org
----
use this to convert to cyrillic (bulgarian) upper and lower version of your string :
$term = "Íåùî";
$upper_term = strtr($term, "àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ",
"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÜÚÞß");
$lower_term = strtr($term, "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÜÚÞß",
"àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ");