Stripping whitespace
Posted: Thu Jul 13, 2006 8:45 pm
Is there any quick way to replace x amount of spaces with only one?
ex. (assume '-' is one space)
Before: This is----a---test------string
After: This is a test string
ex. (assume '-' is one space)
Before: This is----a---test------string
After: This is a test string