Inhaltsverzeichnis

translate (XSLT)

TheXSLT Translate function, replaces the characters in String2/ with those of String3 and returns String1 with the replaced characters as result.

Syntax :

translate('String1', 'String2', 'String3')

Sample

translate('12:30','30','45')

returns' 12:45', the 30 is replaced by a 45

translate('12:30','03','54')

will also return' 12:45', the 0 will be replaced by 5 and the 3 by 4