Skip to main content

StrTrimL

Use this function to isolate the text of a string from all leading spaces.

Syntax:

STRTRIMR (SymName|"String")

where:

  • SymName is the name of a symbol.
  • String is a character string, enclosed in double quotation marks.

Syntax:

CREATE VARIABLE StrTemp1 AS STRING

Variable = STRTRIML ("SourceString")

SET VARIABLE StrTemp1 = STRTRIML (" StringTest ")

StrTemp1 will equal "StringTest " (without the double quotation marks)

Was this article helpful?

We're sorry to hear that.