ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns a string with trailing blanks removed.
RTRIM ( string-expression )
string-expression The string to be trimmed.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
The following statement returns the string Test Message, with all trailing blanks removed.
SELECT RTRIM( 'Test Message ' )