Rtrim

From NSB App Studio
Revision as of 19:11, 8 July 2012 by Brendon (talk | contribs) (Created page with "RTRIM(''string'') '''Description''' RTRIM returns string with all trailing spaces removed. The required parameter, ''string'', is any valid string expression. '''Example'' ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RTRIM(string)

Description

RTRIM returns string with all trailing spaces removed. The required parameter, string, is any valid string expression.

'Example

REM RTRIM Example
'RTRIM trims all trailing spaces
DIM Spacey
Spacey = "K "
PRINT "(" & Spacey & ")"
PRINT "(" & RTRIM(Spacey) & ")"

Output

(K )
(K)

Related Items

LTRIM, TRIM