|
Sounds like it would be a lot easier in a db. That being said:
Rename the line in a text file with 1000String. Next line 1001String etc.
Then when you pull the string from the txt file, first grab the first 4 digits, thats your sort order, then the grab the 5th character to the end. That's your file name.
Flat files are good for speed, but it still sounds like its time for you to put this in a db if I understand your question correctly.
|