|
-
May 7th, 2001, 11:01 AM
#1
Thread Starter
Hyperactive Member
Reading a text file
Being really new to Java, I have little knowledge on how to do most things.
I have, however, been assigned a project at work that the boss says must be done in Java.
I need to read a file and re-format it.
It's current format is 80 columns and then a carriage return.
The record does not necessarily end at the 80th column, meaning the record frequently wraps. (Record is about 300 characters....Sometimes more, sometimes less...)
I need to know how I can read the file for processing while ignoring the carriage return AND be able to see the entire record regardless of it's length...
Any help is GREATLY appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|