Functions

ltrim

Supported By

Syntax

the ltrim of factor

ltrim ( expression )

Factor and expression yield strings.

Example

put ltrim("  Hello, world!  ") -- yields "Hello, world!  "

Description

The ltrim function trims all spaces, tabs, line breaks, control characters, line separators, and paragraph separators from the beginning of the given string and returns the trimmed string.

See Also

trim, rtrim