in reply to how to count the no of repeats in a string

Just split the string on the separator and then use a hash to count the number of instances of each.

  • Comment on Re: how to count the no of repeats in a string