|
LTrim()
Remove any leading spaces from a character
string.
Syntax
LTrim(<cString>)
--> cTrimString
Arguments
<cString> --> is the character string to
process.
Returns
LTrim() returns a copy of <cString> with
the leading spaces removed. If <cString> is a null string
("") or all spaces, LTrim() returns a null/empty string ("").
Description
LTrim() is a character function that formats
character strings with leading spaces. These can be, for example,
numbers converted to character strings using Str().
LTrim() is related to
RTrim() which removes trailing spaces,
and
Alltrim() which removes both leading
and trailing spaces.
Examples
LTrim(' John
Smith')
* Result = 'John
Smith'
LTrim(STR(100))
* Result =
'100'
____________________________
Related Topics
Business
Function List
|