(vl-string-translate sourceset destinationset string)


Replace characters in a string with different characters.


This function returns the string if any substitutions are successful.

Example

Code Returns
(vl-string-translate "My" "ab" "My Text") "ab Text"

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language