February 2013
Intermediate to advanced
538 pages
20h 55m
English
strtr
string strtr(stringstring, stringfrom, stringto) string strtr(stringstring, arrayreplacements)
When given three arguments, returns a string created by
translating in string every occurrence of a
character in from to the character in
to with the same position. When given two
arguments, returns a string created by translating occurrences of the
keys in replacements in
string with the corresponding values in
replacements.
Read now
Unlock full access