Removes spaces from the end of a string. This function is obsolete. It has the same behavior as RightTrim in all environments.
RightTrimW ( string )