Trims any trailing blanks from the end of the string.
The string on which to operate.
The trimmed string.