Replaces characters in a string with a specified set of characters
(vl-string-translate source-set dest-set str)
Arguments
A string of characters to be matched.
A string of characters to be substituted for those in source-set.
A string to be searched and translated.
Return Values
The value of str after any substitutions have been made
Examples
(vl-string-translate "abcABC" "123123" "A is a, B is b, C is C") "1 is 1, 2 is 2, 3 is 3" (vl-string-translate "abc" "123" "A is a, B is b, C is C") "A is 1, B is 2, C is 3"