LTrim

From NSB App Studio
Revision as of 17:42, 8 July 2012 by Brendon (talk | contribs) (Created page with "LTRIM(''string'') '''Description''' LTRIM returns a string with all leading spaces removed. The required parameter, ''string'', is any valid string expression. '''Example''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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