A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
read string from textfile into array
Joined: Jul 07, 2007
Dec 29, 2007 18:59:00
Hi, if a have one line of text in a file, what would be the easiest way to read that line of text into array if I don't know the size of the text?
Joined: Aug 31, 2004
Dec 29, 2007 23:44:00
The nextLine() method in
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
I agree. Here's the link:
subject: read string from textfile into array
Lookahead with Java
Reading characters from a file into an array
Searching for string usign JSTL
total number of rows to array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014