Removes the specified characters from the beginning and end of a string
(vl-string-trim char-set str)
Arguments
A string listing the characters to be removed.
The string to be trimmed of char-set.
Return Values
The value of str, after any characters have been trimmed.
Examples
(vl-string-trim " \t\n" " \t\n STR \n\t ") "STR" (vl-string-trim "this is junk" "this is junk Don't call this junk! this is junk") "Don't call this junk!" (vl-string-trim " " " Leave me alone ") "Leave me alone"