Hi All

Does anyone have any asp scripts or functions to demonstrate how to count the number of times a string appears in an array of strings and output them based on string and occurrence count?

For example if I have an array which contains the following :
hello
happy
hello this is cool
hello
testing
hello
test
happy

The function would return:

hello 3
happy 2
hello this is cool 1
test 1
testing 1

Any assistance would be greatly appreciated!

Thanks
quo