Friday, March 9, 2012

Removing Lines from a Flat File

Hi There,

I am parsing a directory of flat files and looping through it with a foreach loop. Some of the files have lines that contain characters that I would like to remove. In fact, it would be good if I could remove the entire line. Is there a way to do this with a Script Task or some other way.

Thanks for your help.You could read the file in, use a conditional split to identify the rows you want to keep, and then output those rows to a new flat file.|||thank you! used the conditional split...

No comments:

Post a Comment