NAME
translate
SYNTAX
string translate(string text, mapping dictonary)
string translate(string text, mapping dictonary, int intext)
DESCRIPTION
Translates the string "text" using the mapping as a dictionary.
If "intext" is nonzero (TRUE) translate will exchange matches
found anywhere in a string, including inside a word, otherwise
it works on word by word basis.
This is an sfun and might not be available.
SEE ALSO
efun/replace_string
(Taken from VikingMUD)