translate()
translate()
The translate
function evaluates a string and a set of characters to translate and returns the translated string.
Syntax
translate(string ,abc ,XYZ )
Arguments
string
- The string to evaluate.
abc
- The string of characters that will be replaced.
XYZ
- The string of characters used for replacement. The first character in
XYZ
will replace every occurance of the first character inabc
that appears instring
.
Returns
The translated string.
Notes
XPath notes that the translate function is not a sufficient solution for case