How do I remove trailing spaces for all variables in Stata at once? I know that I can remove spaces for one variable at a time as follows:

Code:
 replace Var1 = trim(Var1)
But this becomes difficult when I have 100 variables.

Thank you.