ltrim

This function removes leading whitespace from its input.

ASSIGN text := ltrim (input)

The result of the function ltrim is of type TEXT. This function has one parameter:

  1. input, type TEXT; the input.

The result of the function ltrim is the input text without the leading whitespace.

Notes

Whitespace includes spaces, tabs and line breaks. Non-printable word processor instructions are also removed from the result, similar to the behavior of the fragment_of_characters function.

The function ltrim is designed to handle Unicode input.

Example

[@( ltrim ( "   Example" ) )] 

Result: [Example]