Replaces each character in string that matches a character in the from set with the corresponding character in the to set.
Signatures & examples
translate ( string text, from text, to text ) → text
Replaces each character in string that matches a character in the from set with the corresponding character in the to set. If from is longer than to, occurrences of the extra characters in from are deleted.