Duplicate character removing functionality added to StringUtils