Trim spaces from the right end of a string.
SELECT RTrim(“SQL Tutorial “) AS RightTrimmedString; |
The RTrim() function removes spaces from the right end of a string.
Note: See also the LTrim() function, which removes spaces from the left end of a string.
RTrim(string) |
Parameter |
Description |
string |
Required. Specifies the string from which trailing spaces will be removed. |
Works in: |
From Access 2000 |