How to strip all spaces from a variable