Instead of taking the file one line at a time, why don't you take it one word at a time, since that's what you really care about?
Type: Posts; User: KevinWorkman
Instead of taking the file one line at a time, why don't you take it one word at a time, since that's what you really care about?
Here is the first hit after googling "java file io": Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)
But this sounds like a job for the Scanner class. The API is your new best friend:...