Removes the specified characters from the end of a string
(vl-string-right-trim character-set string)
Arguments
A string listing the characters to be removed.
The string to be stripped of character-set.
Return Values
A string containing a substring of string with all trailing characters in character-set removed.
Examples
(vl-string-right-trim " \t\n" " STR \n\t ") " STR" (vl-string-right-trim "1356789" "3CPO is not R2D267891") "3CPO is not R2D2" (vl-string-right-trim " " "There are too many spaces here ") "There are too many spaces here"