Access RTrim Function

Last updated: August 26, 2026.

The RTrim function removes space characters from the right end of a string.

Syntax

RTrim(string)
ArgumentDescription
stringText 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.

admin

admin

Leave a Reply

Your email address will not be published.