Extract Lines from 1st RichEdit - to - 2nd RichEdit
Posted on 2006-05-24
Let me try to explain this a little.
I am working with "Datafeed" Files. From different companies over their product inventory.
I am using a program that I am developing to do all the work with the files.
I have to edit these "Datafeeds" before [Importing] them into an Access Database.
This is the problem that I have come across.
The lines are listed as such
"1","345456","some product","some information here","45.65","more information","Bad information"
"1","788589","some product","some information here","56.65","more information","Good information"
From the example of the line(s) listed above.
I need to do the following.
I need to have some sort of process that will iterate through the .txt Datafeed file
And extract out all the [Lines] that have a certain word-set in it. In this example it would be "Bad information"
I then need for the Line(s) to be inserted into another TRichEdit control for further editing.
Extract Certain User Chosen line(s) from 1-RichEdit - to another - RichEdit.
I know this one is probably going to be a pain, so I am going to start with the Highest [500-Points]