vl-string-translate
(vl-string-translate fromSet toSet
string)
This function replaces any character in
fromSet with
corresponding character in toSet
in the string.
Arguments |
fromSet (string) |
Return |
(string) the result string after character substitution |
Example |
(vl-string-translate "WSL" "wsl" "Wrong SpeLLing") returns "wrong spelling" |
Remarks |
"corresponding character" means : character at position N in fromSet is substituted by character N in toSet |
© Bricsys NV. All rights reserved. |