I've tried with stringTokenizer
but it spilts the string every time
space it met!
and i'm trying to cut the string
every time the length of the first
word is reached
I'm trying to read a txt file into string
and then cut the string into peaces,but it's
not quite working.
if the file looks like this:
this
is
atest
folks
String should be something like this: this is atestfolks
and after parsing
this
is a
test
folk
s
now it's putting all the...
I'm tryin to read a text file into a single
string. I only manage to read the firs line from the file.How can i read every line and make them into one string?
this is the part where i'm tryin to read
the file
File inputFile = new File ("help.txt");
FileReader fis =new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.