Reading in a text file and parsing it in java
Posted on 2004-08-13
I have a large text file that i want to read into java and parse the information in it. Can anyone tell me the best way about doing this.
example of one line of the file (each line is the same format)
there are 3 lines above this that are completly irrelevant that i wont need either
9406458572012631790140390464112 00000003500 textNotNeededhere textnotneededhere Joe Bloggs
I need to parse the numbers at the front into a database, as in the first 6 are a value, the next 8 are a value and so forth
Any help would be great!!!