TRIMRIGHT

Removes trailing spaces from text, leaving all other spaces intact

Usage

TRIMRIGHT(text)

Parameters

text

(Required) The text from which to remove trailing spaces

Examples

Example With these variables Result

TRIMRIGHT(“ Hello World “)

(None)

” Hello World”

TRIMRIGHT(message)

message is " Good Morning Anna "

” Good Morning Anna”

More information

The TRIMRIGHT function will not change the value of the variable itself. It will return the text without trailing spaces, but if you use the variable elsewhere, it will still have its original text with trailing spaces.

See also