Library /sys$common/syshlp/BASICHELP.HLB  —  TRM$
  The TRM$ function returns a specified string with all trailing blanks  and
  tabs removed.

  Example

  New_string$ = TRM$(Old_string$)
Additional Information: explode extract
Syntax
Close Help