Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

RTRIM$

Description

RTRIM$ can be used to remove all space characters from the end of a string. RTRIM$ needs a single argument that is the source string, and generates a new string where all trailing spaces are stripped off.

Example

This example demonstrates the effect of RTRIM$:

outmode -2
let a$ = "hello "
let b$ = "world "
let c$ = rtrim$(a$) + rtrim$(b$) + "!"
print c$

Remarks

Only spaces (ASCII value 0x20) are removed. Other white space characters are not. See also LTRIM$.