note 64786 deleted from function.ereg-replace by bjori
| From: | bjori@php.net | Date: | Thu, 20 Apr 2006 18:33:22 +0000 |
| Subject: | note 64786 deleted from function.ereg-replace by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108843@lists.php.net to get a copy of this message | ||
Note Submitter: dincerakay at gmail dot com
Reason: in docs
----
When u want change a lot of char, use strtr
<?
$str="iÄç test asd à kÅç ";
$t = array("ü" => "Ã", "ö" => "Ã",
"Ä" => "Ä", "Å" => "Å", "ç"
=> "Ã", "i" => "İ", "ı" => "I");
$x=strtr($str, $t);
echo $x;
?>
-------
Dinçer Akay