you can do this with a data assignment in a Workflow using the "replace" function in an arithmetic expression:
Replace(String, String, String, Int32, Int32, CompareMethod)
//Returns a string in which a specified substring has been replaced with another substring a specified number of times.
Replace(GV_Number," ","") would replace all spaces in the global variable "Number" with nothing.
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant