Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

StrTrimL

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

Copy

Syntax

STRTRIMR (SymName|"String")        

where:

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

Syntax

CREATE VARIABLE StrTemp1 AS STRING
Variable = STRTRIML ("SourceString")
SET VARIABLE StrTemp1 = STRTRIML (" StringTest ")
 
StrTemp1 will equal "StringTest " (without the double quotation marks)        

Published:

StrTrimL

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

Copy

Syntax

STRTRIMR (SymName|"String")        

where:

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

Syntax

CREATE VARIABLE StrTemp1 AS STRING
Variable = STRTRIML ("SourceString")
SET VARIABLE StrTemp1 = STRTRIML (" StringTest ")
 
StrTemp1 will equal "StringTest " (without the double quotation marks)        

For an optimal Community experience, Please view on Desktop