I want to count the number of occurences of each character in a string
Posted
by roe
on Stack Overflow
See other posts from Stack Overflow
or by roe
Published on 2010-04-24T03:18:27Z
Indexed on
2010/04/24
11:33 UTC
Read the original article
Hit count: 228
Ignore spaces, punctuation and anything else that is not a letter. Ignore the case of the incoming letters (so e.g. 'A' and 'a' should be counted together). The results of analysing this string should be added to any analysis performed by previous calls to this method.
© Stack Overflow or respective owner