right-trim()

This function removes all non-printable characters and spaces (whitespaces) from the right side of text a.

Parameters


Parameter

Description

a

Text.


Examples


Spaces and other whitespaces are represented as underscores here.


Parameter a

Result

text

text

__text__

text__