Re: [PHP4BETA] suggestion for new function str_change(string str,array transtable [,bool reverse])

From: Date: Sun, 21 Nov 1999 21:00:31 +0000
Subject: Re: [PHP4BETA] suggestion for new function str_change(string str,array transtable [,bool reverse])
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6633@lists.php.net to get a copy of this message
Thies C. Arntzen wrote: > function should search/replace a number of pairs in str and return the new > string. The more common case for arbitrary regexps is already handled with preg_replace, where "old", "new" and "str" may be arrays. If you want a character translation: GNU recode is a .so since version 3.5 because I suggested that to the developers. Perhaps somebody is interested into writing a PHP binding for librecode? Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!)

« previous php.version4 (#6633) next »