tripoli
Well-Known Member
- Joined
- Sep 27, 2004
- Messages
- 2,154
I need to read in an input text file into a basic java program. The file i'm reading in will have approx50 words and will be called "text.dat". I need to count the words in the file and output the number to a new file. I presume java recognises a space between a word? Anyone have any ideas as to the syntax I should be using to catagorise the space between a word in my code?
Thanks guys.
Thanks guys.