|
-
October 10th, 2004, 07:25 AM
#1
Senior Member
Java Problem!!!
I have a question in Java. I am new to this language and i have a big(i think for me it is big) problem.
If i have a text file with a data record similar to the two lines of text shown below.
10000001 01.11.199600.00.000001 A1 1 SN
2001.11.200300096.0500072.0500081.65
and i want to pick up all the records whose first two digits are 10 (as
shown in the first example), what's the best way to do this ?
Cause its not possible to manually put a delimiter after the first two
digits in every single record and then scan the file for the first two
desired digits.
I want to know about the Java File handling mechanism.
Please reply.
Thank you very much.
U get What U pay for. 
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
|
|