The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Whilst orders of magnitude faster, as posted, your solution is missing some possibilities. Given the input of:
It should produce 12 counts:
But only produces the following eight:
I'm sure that this is eminently fixable. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In reply to Re^2: How can I count the number of substitutions of one letter in a string by another letter in the other string?
by BrowserUk
|
|