Community QBasic

Rebooting the QBasic we all know and love!


Project maintained by Cory Smith

RTRIM$

Removes trailing spaces from a string expression.

Syntax

RTRIM$(string_expression)

Comments

string_expression is any string expression.

Example

a$ = "AAAA    "
b$ = "BBBB"
PRINT RTRIM$(a$); b$

Resulting in:

AAAABBBB

See Also