StrTrim
Use this function to isolate the text of a string from all leading and trailing spaces.
where:
- SymName is the name of a symbol.
- String is a character string, enclosed in double quotation marks.
Copy
Example
CREATE VARIABLE StrTemp1 AS STRING
Variable = STRTRIM ("SourceString")
SET VARIABLE StrTemp1 = STRTRIM (" StringTest ")
StrTemp1 will equal "StringTest" (without the double quotation marks)