i have an array pages = ["www.ebay.c om: An auction website where users can buy and sell items. ","www.bbc.co.u k: The official site for the British Broadcasting Center"];

the user is asked to enter a word 'w', which is then searched for in the above array. I want the frequency of that word in pages[0] outputed, then the frequency of the same word in pages[1] outputed, and so on.

I dont know where to...