xcall STRIP, strvar
STRIP.SBR removes trailing blanks from the specified string. Note that it does not remove Tabs or any other control characters, just spaces, and just those that are at the trailing end.
See Also
• TRIM, which trims both leading and trailing spaces, and has an option to remove unprintable characters as well.
• XSTRIP, which provides more sophisticated removal of specific characters from string.