functions-online

strtr

en
de
es
fr
pt

description

This function returns a copy of $str, translating all occurrences of each character in $from to the corresponding character in $to.

If $from and $to are different lengths, the extra characters in the longer of the two are ignored.

Diese Funktion gibt eine Kopie von $str zurück, in der alle Vorkommen jedes Zeichens von $from in das korrespondierende Zeichen in $to umgewandelt wurde.

Haben $from und $to eine unterschiedliche Länge, werden die überzähligen Zeichen im jeweils längeren Parameter ignoriert.

Esta función trabaja sobre $str, traduciendo todas las apariciones de cada caracter en $from por el caracter correspondiente en $to y devolviendo el resultado.

Si $from y $to son de distinta longitud, se ignoran los caracteres extra en la más larga.

strtr() retourne la chaîne $str, après avoir remplacé chaque caractère du paramètre $from par son équivalent dans le paramètre $to.

Si $from et $to sont de tailles différentes, les caractères en trop dans l'un ou l'autre seront ignorés.

Esta função retorna uma cópia de $str, traduzindo todas as ocorrências de cada caractere em $from para o caractere correspondente em $to.

Se $from e $to são de comprimentos diferentes, os caracteres extras no mais longo dos dois são ignorados.

function call

string strtr( string $string , string $from , string $to )

test strtr online










comments for strtr

be the first

No comments so far for strtr. Leave your's as first below.

+

Leave your comment