Automation Engine Script Guide > Ordered by Function > Strings > STR_RTRIM

STR_RTRIM

Script Function: Deletes the empty spaces at the end of string

Syntax

STR_RTRIM(String)

Syntax

Description/Format

String

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


Return code

String without an empty space at its end

Example

The example outputs the result ("   Database opening...") in the activation protocol.

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

 

See also:

Script element Description

STR_LTRIM

Deletes empty spaces at the beginning of a string

STR_TRIM

Removes empty spaces at the beginning and the end of a string

Script Elements - Strings

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function