How can I get the number of unique chars in my String?
Ex:
NSString *myString = @"Hello";
I want the count to be 4 and not 5.
I was trying to use the NSCharacterSet of myString and get the count but seems like it doesnt work.
NSCharacterSet *myCharSet = [NSCharacterSet characterSetWithCharactersInString:myString];
[myCharSet count];
Thanks for the tip.