STRTRIM

Purpose:

Skips the leading whitespace of a string.

Syntax:

STRCAT("str")

"str"

-

A string, the input string to process.

Returns:

A string where the leading whitespace has been eliminated.

Example:

strtrim("   aaa bbb")

 

results in the string: "aaa bbb".

Example:

str1 = "   " + strescape("\t") + "text";

str2 = strtrim(str1)

 

str2 == "text"

Remarks:

STRTRIM removes leading whitespace from a string, including spaces, strchar(32), tabs, strchar(9) and newlines strescape("\n").

See Also:

STRCHAR, STRCHARS

STREXTRACT

STRFIND

STRGET