This utility is writen in Java for:
- Removing extra whitespaces from the string
- Adding/Removing whitespaces preceding and following of punctuation characters
For example:
Input:
During a general strike in" Guayaquil ", Ecuador , police and military fired into a crowd , killing at least( 300 ) people . !
Output:
During a general strike in "Guayaquil", Ecuador, police and military fired into a crowd, killing at least (300) people.!