hi, im relatively new at programming.
Im using bluej.
i have manged to write the following data to a file.
0213 - Sumair Seth
9801 - John Smith
7373 - Jason Porter
1283 - Allison Fairth
I need to read only the 4 digit string(0213 and 9801) and write it into an array. I need to do this everytime i write a number and a name(in the above format) to the file. Could someone help me with this?... i really need it urgently.
Im using bluej.
i have manged to write the following data to a file.
0213 - Sumair Seth
9801 - John Smith
7373 - Jason Porter
1283 - Allison Fairth
I need to read only the 4 digit string(0213 and 9801) and write it into an array. I need to do this everytime i write a number and a name(in the above format) to the file. Could someone help me with this?... i really need it urgently.
Comment