inplace to replace whitespace with %20 in a string
compress a string