You need to sign in to do that
Don't have an account?
Vijay Nagarathinam
Delete duplicate characters in a string
Hi,
I am using a string and store some characters in the string. If the string contains any duplicate value then remove that character and store the unique characters only.
Ex String demoString = 'ADVABD';
In the above string, I want to remove the duplicate characters A and D in the string.
Let me know how to achieve this.
Thanks,
Vijay
I am using a string and store some characters in the string. If the string contains any duplicate value then remove that character and store the unique characters only.
Ex String demoString = 'ADVABD';
In the above string, I want to remove the duplicate characters A and D in the string.
Let me know how to achieve this.
Thanks,
Vijay
Let us know if it helps.