For the complete documentation index, see llms.txt. This page is also available as Markdown.

ltrim

This section contains reference documentation for the ltrim function.

trim spaces from left side of the string

Signature

LTRIM(col)

Usage Examples

SELECT ' Pinot with spaces  ' AS notTrimmed,
       ltrim(' Pinot with spaces ') AS trimmed
FROM ignoreMe
notTrimmed
trimmed

" Pinot with spaces "

"Pinot with spaces "

Last updated

Was this helpful?