STR_TRIM
Use the STR_TRIM script function to remove empty spaces at the beginning and the end of a string.
Syntax
STR_TRIM (String)
Parameters
-
STR_TRIM
Removes empty spaces at the beginning and the end of a string -
String
Alphanumeric character string that should be processed
Format: script literal or script variable
Return code
String without empty spaces at its beginning and it end.
Example
The following example prints the original text " Database opening... " without its empty spaces in the activation report.
:SET &RET# = STR_TRIM(" Database
opening... ")
:PRINT &RET#
See also: