squirellplaying
10-19-2005, 02:38 AM
I'm trying to count the number of occurences of each word in a paragraph. The paragraph is in an arraylist, so I suppose what I need to do is make an array that counts each word. I want to do something like
theArray["word"]=theArray["word"]+1;
Is that possible without using a hash table?
theArray["word"]=theArray["word"]+1;
Is that possible without using a hash table?