Last updated: August 26, 2026.
The RTrim function removes space characters from the right end of a string.
Syntax
RTrim(string)| Argument | Description |
|---|---|
string | Text expression to trim |
Examples
RTrim("WebCheatSheet ")
CleanCode: RTrim([ProductCode])
SafeText: RTrim(Nz([Notes], ""))RTrim returns Null when its argument is Null. It removes ordinary spaces, not every possible whitespace character.
See Microsoft’s Access function reference for related expression functions.