LTrim: 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

LTrim(string)

Description

LTrim returns a string with all leading spaces removed. The required parameter, string, is any valid string expression.

Example

Rem LTrim Example
'LTrim trims all leading spaces
Dim Spacey
Spacey = " K"
Print "(" & Spacey & ")"
Print "(" & LTrim(Spacey) & ")"

Output

( K)
(K)

Related Items

RTrim, Trim