I want to count the number of occurances 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
3:23 UTC
Read the original article
Hit count: 272
python
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