STR_TRIM

Script Function: Removes empty spaces at the beginning and the end of a string

Syntax

STR_TRIM (String)

Syntax

Description/Format

String

Alphanumeric character string which should be converted
Format: script literal or script variable


Return code

String without empty spaces at its beginning and end

Example

The example shows the output of the result ("Database opening...") in the activation report.

:SET &RET# = STR_TRIM("   Database opening...   ")
:
PRINT &RET#

See also:

seealso

Script Elements for Editing Strings