This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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-2015