Sideqik interview question

How do you remove duplicate letters in a string?