Rtrim: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "RTRIM(''string'') '''Description''' RTRIM returns string with all trailing spaces removed. The required parameter, ''string'', is any valid string expression. '''Example'' ...")
 
No edit summary
Line 5: Line 5:
RTRIM returns string with all trailing spaces removed. The required parameter, ''string'', is any valid string expression.
RTRIM returns string with all trailing spaces removed. The required parameter, ''string'', is any valid string expression.


'''Example''
'''Example'''


<pre>
<pre>

Revision as of 19:12, 8 July 2012

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