Hi... I'm trying to learn Java on my own... But I got one question I got stuck on... :-(
I've got an application that uses a stringTokenizer to split a string like ("Test1, Test2, Test3") into seperate pieces...
But now I want to be able to read this info from a textfile...
And I don't know how...
I have a textfile like this:
Test1,Test2,Test3
Test4,Test5,Test6
So I need a method that returns a string... That method has only one parameter and that's the linenumber...
For example: ReadLine(0) would return "Test1,Test2,Test3"
Anyone got code how to do this???
Sorry for the (probably) stupid question...

Thx a lot...

Pieter

Ps: I'm talking about an application, not an applet