note 17049 added to function.strtr

From: Date: Fri, 23 Nov 2001 14:08:00 +0000
Subject: note 17049 added to function.strtr
Groups: php.notes 
Request: Send a blank email to php-notes+get-21202@lists.php.net to get a copy of this message
As an alternative to the not-yet-existing function stritr mentioned in the first note above You can easily do this: strtr("abc","ABCabc","xyzxyz") or more general: strtr("abc", strtoupper($fromchars).strtolower($fromchars), $tochars.$tochars); Just a thought. -- http://www.php.net/manual/en/function.strtr.php http://master.php.net/manage/user-notes.php?action=edit+17049 http://master.php.net/manage/user-notes.php?action=delete+17049 http://master.php.net/manage/user-notes.php?action=reject+17049

« previous php.notes (#21202) next »