portableSql

LTrim Portable SQL Function

Syntax

LTrim as C (String as C)

Arguments

StringCharacter

A field or value.

Returns

resultCharacter

Returns a string with all leading white space removed.

Description

Trim all leading white space.

Discussion

The LTrim function trims all leading white space from a string.

LTrim() function executed on the Northwind Access database
SELECT FIRST 1 LTrim('   Boston   ') AS Expr1 FROM Customers
=Boston