Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

LTRIM$

Description

LTRIM$ can be used to remove all space characters from the beginning of a string. LTRIM$ 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 LTRIM$:

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

Remarks

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