THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access RTrim() Function

❮ MS Access Functions

Example

Remove trailing spaces from a string:

SELECT RTrim("SQL Tutorial    ") AS RightTrimmedString;
Try it Yourself »

Definition and Usage

The RTrim() function removes trailing spaces from a string.

Note: See also the LTrim() function.

Syntax

RTrim(string)

Parameter Values

Parameter Description
string Required. The string to remove trailing spaces from

Technical Details

Works in: From Access 2000

❮ MS Access Functions