title says it all... I want to find the most occurred char in a string and then count its occurences.
Example: IN: "aabbbbcccd" OUT: Most occurred: "b", 4 times.
I don't even need to know which char is, just the number of repeats. I want to do this using only Excel VBA.
I tried to look for some algorithm, I found some approaches like: Find the most occurrence of a character in string C#? but I don't know how to port to VBA, I am afraid that I can't :(
Thanks !