STR_RTRIM
Use the STR_RTRIM script function to delete the empty spaces at the end of a string.
Syntax
STR_RTRIM (String)
Parameters
| Parameter | Description | Format |
|---|---|---|
| String | Alphanumeric character string that should be converted. | Script literal or script variable |
Return Codes
The script function returns the string without any empty spaces at its end.
Examples
The example outputs the result (" Database opening...") in the activation report:
: SET &RET# = STR_RTRIM(" Database opening... ")
:PRINT &RET#
See also: