CAI Interview Question

Write a program to remove duplicates from a string.