how to remove more than one whitespace from a String code example Example: java remove double spaces StringUtils.normalizeSpace(string);