Synopsis rtrim (value: string [, characters_to_remove]) Description Removes specified characters from the end of the string.