In response to your question:
rtrim = trim a character from the right of a string
(do you guess "ltrim"?
ltrim = trim a character from the left of a string
First parameter have to be a string type control, variable, etc. to trim from.
Second parameter is the character to trim.