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 protocol.

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

See also:

Script element Description

STR_LTRIM

Deletes empty spaces at the beginning of a string

STR_RTRIM

Deletes the empty spaces at the end of string

Script Elements - Strings

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function