PDA

View Full Version : Solved: Remove all spaces in string?



clhare
09-18-2008, 08:47 AM
In Word, is it possible to trim all the spaces out of a string? I know I can trim to the left and right of a string, but what about any spaces within the string?

TonyJollans
09-18-2008, 09:36 AM
The easiest way is probably ... Replace(YourString," ","")

clhare
09-18-2008, 11:52 AM
Just what I needed! Thank you!!