Stripping out spaces

Stripping out spaces

Is there any way to strip spaces out from data entered into a single line field? I need to pull that data out, take out the spaces, and then put it into another field.