Remove duplicate characters from a string

Output:-

results matching ""

    No results matching ""