(vl-string-subst newstring pattern string [startpos])
Replace one string within a string with a different string.
This function returns the string if any substitutions are successful.
Example
Code | Returns |
---|---|
(vl-string-subst "My" "My Text" "Your" ) | "YOUR TEXT" |
Tell me about...
Programming Overview of LISP (LISt Processing) Language