Rtrim

From NSB App Studio
Revision as of 03:02, 17 August 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