rtrim()

Function to remove all spaces from the right side of a string entered into a control

rtrim([Control Name]);