(vl-string-trim)

(vl-string-trim characterset string)


Remove specified characters from the beginning and end of a string.


This function returns the string without the specified characters.

Example

Code Returns
(vl-string-trim "Text" "My Middle Text") "MIDDLE"

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language