Paycom interview question

Write a program that returns only unique characters in a string (ex. aaaabbbc becomes abc).