LTrim

From NSB App Studio
Revision as of 02:12, 17 August 2012 by Brendon (talk | contribs)
Jump to navigation Jump to search

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