how to give a white space between string java code example Example: java remove double spaces StringUtils.normalizeSpace(string);