Altair® Monarch®

 

Function: LTrim

Description

Removes leading spaces from a string.

Syntax

LTrim(string)

Arguments

string can be a constant, a character field, an expression that results in a string or a function that returns a string.

Return value

This function returns a character string.

Calculated field example

If the Product field contained the value of "   chair", the following calculated field expression would return "chair": LTrim(Product)

Filter/Find example

Records with a Product field value of "    chair" or " chair" can be selected or found using the expression: LTrim(Product)="chair"