Progress
SQL-92
Guide and Reference


LTRIM Function

Removes all the leading characters in char_expression that are present in char_set and returns the resulting string. The first character in the result is guaranteed not to be in char_set. If you do not specify the char_set argument, leading blanks are removed.

SYNTAX

LTRIM ( char_expression [ , char_set ] ) 

EXAMPLE

This example illustrates the LTRIM function:

SELECT last_name, LTRIM (addr, ’ ’) 
     FROM customer ; 

NOTES

COMPATIBILITY

ODBC Compatible


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095