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!

read the first word of each line in a text file

807601Dec 27 2007 — edited Dec 31 2007
i need to read the first word of each line of a text file.
i know of line.split() but not actually sure how i would go about using it

Any help most appreciated

Many Thanks

Ben
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 28 2008
Added on Dec 27 2007
22 comments
4,371 views