Rtrim: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:


[[Category:Language Reference]]
[[Category:Language Reference]]
[[Category:Strings]]

Revision as of 18:55, 11 September 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