Rtrim

From NSB App Studio
Revision as of 19:12, 8 July 2012 by Brendon (talk | contribs)
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