lTrim

Removes leading spaces from a string.

lTrim(String) → returns string

Argument Reference

String string
Required

Examples
Sample code invoking the lTrim function

'>' & lTrim('    CFDocs    ') & '<'

Expected Result: >CFDocs <

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub