613-518-1166 info@zimdatabases.com

ZIM Language Reference

$ltrim

< All Topics

$ltrim

Trims leading blanks from a character string.

Syntax

$ltrim(string)

Parameters

string

a character string or an expression that evaluates to a character string

Return Value

Character string.

Comments

Use $ltrim to remove leading spaces from a character string.

For output purposes, the implicit length of the result returned by $ltrim is the same as the length of string.

Example

$ltrim(Salary)

Evaluates to “20000” if Salary is 20,000 (INT data type).

 

See Also

$trim

$ttrim

About Character Literals

About Functional Expressions

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents