I can finish this off after I get back from school this afternoon, well actually late afternoon. There's some junk in the code right now because I was rushing to see if I could remove the commas and periods. There is a better way to do it. I can scan every word and make sure that it isn't a comma or a period and also check the end of the string to see if there is a comma or a period. Also the string of variable length needs to be concatenated to form one big string. I hadn't done that at all yet. I was writing this and at one point I figured that I did it wrong because there was no need for any structure because there was no updating of the information, but on second thought the structure might actually be necessary because it will make it easier to remove the corruption from the file. It is important though that the fields are all like so:

code number
0003328763|
code number 2
039485|
Name
Smith^MaryAnne^M^|
code number 3 (see this gets modified)
20010621|
code number 4 (modified)
20010522|
code number 5 (modified)
20010708|
string description
Customer purchased clothing articles_Women's Wear|
number
10|
price?
150.47

I'm not sure what each thing is supposed to represent so I'll just call them code numbers, etc. I noticed that some of the numbers get modified. This is why the linked list will be important. Okay so this is the format.

code number| code number 2| Name| code number 3| code number 4| code number 5| string description| number| price

The names don't mattter, but what matters is that these fields remain costant in the input file. None of these fields can be in any strange order. Commas, periods, forward slashes, white space, is that all, is there any other junk in the input file that has to be removed? I have to know if there is. But having accounted for other junk and if the order remains constant than the problem can be solved. I'll be back home in about 8 hrs from now.