Removes spaces from the end of a string.
RightTrim ( string )
RightTrimW ( string )
Argument |
Description |
---|---|
string |
The string you want returned with trailing blanks deleted |
String. Returns a copy of string with trailing blanks deleted if it succeeds and the empty string ("") if an error occurs. If any argument’s value is null, RightTrim returns null.
This statement returns RUTH
:
RightTrim("RUTH ")