Re: ?I@-ES] PROBLEMA CON LA ?
| From: | Ing Wilson Rojas P | Date: | Thu, 15 Apr 2004 13:02:29 +0000 |
| Subject: | Re: ?I@-ES] PROBLEMA CON LA ? | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-47693@lists.php.net to get a copy of this message | ||
$mivar=''ola';
$doc = str_replace( 'h', 'w',$mivar); === wola
Att
Ing Wrojas
Claudio Bustos wrote:
At 08:52 15-04-2004 +0200, you wrote:Hola a todos,sabeis si hay alguna funcion que haga lo siguiente: si en una variable con texto hay un caracter concreto me lo cambie por otro?en plan change(texto_letra_rara,letra_ok);gracias a todos.La función es strtr <?php $addr = strtr($addr, "äåö", "aao"); ?> Del manual, of course-- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpClaudio Bustos Navarrete Psicólogo de la Universidad de Concepción E-mail: clbustos@entelchile.net Www: http://www.apsique.com