Can anyone help me regarding the following issue:
If I have the following array:
sports = new Array('rugby','tennis','football','snooker','cricket','football');
How can I find the number of occurrences of 'football' within the array and return the index's - in this case 2 & 5;
I know I could do this with a simple for/next loop but on the end project the array will be a lot bigger and pondered if there is another way to do it.
Thanks in advance.