How to count string values, how many times are they repeated? - page 2

 
amrali #:

It works, coz I don't bother micro-optimizations..

I never said it didn't work, but the StringReplace option is still a bad solution compared to OP's original function.

On the other hand, your second solution is better than OP's as it removes the StringSplit usage.

Reason: