Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do i split content from the text file using tab and spaces...?

843785Jul 31 2008 — edited Aug 1 2008
Hi everyone...

Im new to java.. I would like to ask help to all the experts.. Im having a problem on how to split contents from the text file that i read using FileReader. here's the sample of the content of the text file.

TEXT FILE CONTENT:

AcctNo AcctName AcctStatus Opendate
0010101000296 GIRL SCOUTS . ACTIVE 03/18/1991

as you can see the content text. The AcctNo is split using space and the other fields split using tabs...
how do i solve the problem..? Im waiting for a reply to all the experts.. Thanks....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2008
Added on Jul 31 2008
8 comments
763 views