Reverse - Tom Kleen

For example if the string is "abca", the outer loop index variable will be set to "a". Then the inner loop will step through the string looking for "a". It will count 2 of them. Save the letter "a" and the number 2. Then the outer loop index variable will be set to "b". Then the inner loop will step through the string looking for "b". ................
................