Removes the specified characters from the end of a string
Supported Platforms: Windows, Mac OS, and Web
Signature
(vl-string-right-trim char-set str)
- char-set
-
Type: String
A textual value listing the characters to be removed.
- str
-
Type: String
The textual value to be stripped of char-set.
Return Values
Type: String
A textual value containing a substring of str with all trailing characters in char-set removed.
Release Information
- AutoCAD R14 and later on Windows
- AutoCAD 2011 and later on Mac OS
Releases:
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"