STR_RTRIM
Use the STR_RTRIM script function to delete the empty spaces at the end of a string.
Syntax
STR_RTRIM (String)
Parameters
-
STR_RTRIM
Deletes the empty spaces at the end of a string -
String
Alphanumeric character string that 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 report.
:SET &RET# = STR_RTRIM(" Database
opening... ")
:PRINT &RET#
See also: