Hello,
This is probably easy but I guess I don't know the proper keyword to search for so I am asking here. I need to summarize or consolidate an array of values and build an array which identifies how many of each consolidated values there are.
For example I have the following array:
a
a
b
c
d
d
So I want a resulting pair of arrays that gives:
a, 2
b, 1
c, 1
d, 2
What do I need?
Thanks!
Lars