The TRM$ function returns a specified string with all trailing blanks and tabs removed. Example New_string$ = TRM$(Old_string$)
1 – Syntax
str-var = TRM$(str-exp)