How can I count the number of different characters used in a NSString.
Basically, from the string
Condimentum Consectetur Cras
I would like to get 14 as an answer because:
Condimet scura
We can’t assume the NSString’s content will always be English; a behaviour similar to [NSString length] for such cases – counting Unicode characters – is, therefore, expected.
Did You try this. I hope it will helps You.