translate
Signature:
translate(inputString as string,fromString as string,toString as string)
Arguments:
-
inputString
: The input string. -
fromString
: The from string. -
toString
: The to string.
For example,
translate('--aaa--','abc-','ABC')
returns 'AAA'
.