FactSet Interview Question

remove duplicates from a string