CAI interview question

Write a program to remove duplicates from a string.