PHP remove duplicate characters from string - phptpoint

PHP remove duplicate characters from string

/ins>

How to remove duplicate characters from string

Enter Your Word in a text box. Remove all duplicate characters from word if any one found.