I have an NSString and would like to get the number of occurrences of a particular character.
I need to do this for quite a few characters, so it would be nice for it to be quick.
In case it makes any difference, it's actually an NSMutableString, and the characters will all be uppercase English letters.