Remove white spaces from a string