i have an array pages = ["www.ebay.com: An auction website where users can buy and sell items. ","www.bbc.co.uk: 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 start, if anyone could post some sample code for me to see what i need to do, that would be greatly appreciated.