RTRIM(x)

This function removes trailing spaces from a string.

Example:

Remove trailing spaces from a string: 

RTRIM("Pranalytix Tutorial           “)=”Pranalytix Tutorial"