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 set the number of characters per line of output?

843785Mar 15 2009 — edited Mar 24 2009
If I had a file (file.txt) which is just an essay or whatever, and i wanted to use that file in my output, but only wanted 50 characters per line of output, how would i do that?

I don't need to know how to import the file, just how to set the number of characters per line of output.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2009
Added on Mar 15 2009
24 comments
2,018 views