i was wondering if you could assist me. I'm new to programming and i'm currently trying to get to grips with it.
Presently i'm trying to write a program that will take in a file and compare each line in the file to a pre-defined word, just to see how many there are.
From my work i've realised that the java method - equals isn't suitable as the method means it must be an exact match. Now, i've heard that i should use a string tokenizer but i haven't yet been able to figure out how to use it or why i need to. Can you help me?