LoneRobot
03-15-2009, 09:31 PM
hello peeps,
say i have an array that contains multiple integers (not necessarily in order), is there a way of checking this array for the multiples and returning the info on how many of each occurence there are -
ie -
#(2,3,6,4,2,3,5,2,5,6,5)
returning the details -
3 instances of 2
2 of 3
1 of 4
3 of 5
2 of 6
cheers!
say i have an array that contains multiple integers (not necessarily in order), is there a way of checking this array for the multiples and returning the info on how many of each occurence there are -
ie -
#(2,3,6,4,2,3,5,2,5,6,5)
returning the details -
3 instances of 2
2 of 3
1 of 4
3 of 5
2 of 6
cheers!
