rtrim(str) - Removes the trailing space characters from str