PHP3 Manual | ||
---|---|---|
Prev | Next |
strtr -- Translate certain characters.
This function operates on str, translating all occurrences of each character in from to the corresponding character in to and returning the result.
If from and to are different lengths, the extra characters in the longer of the two are ignored.
Example 1. strtr() example $addr = strtr($addr, "alo", "aao"); |
See also ereg_replace().
Prev | Home | Next |
strtoupper | Up | substr |