LTrim: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(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''...")
(No difference)

Revision as of 17:42, 8 July 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