Hi, Let's say I have size of the file(with the contents inside) is 4000 bytes. I want to read the bytes from 0 to 500 only and I want to put that (0-500) into an array of string. How can I do this? If I can get example would be nice. Thanks Angela
Steve Deadsea
Ranch Hand
Joined: Dec 03, 2001
Posts: 125
posted
0
Siva Prasad
Ranch Hand
Joined: Feb 22, 2001
Posts: 104
posted
0
How about this?
But Angela, instead of asking for the code straight away, I think you should toy with those IO Classes we have in java.io.* They are very interesting to play with. cheers Siva Prasad