Page 1 of 1

Insert in the end of the second line in .csv file

Posted: Sun Mar 09, 2014 11:06 am
by Luanna
Hello! I'm new in TextCrawler, but I already appreciate its many advantages. Please advise me in this problem:
- I have about 3000 .csv files. About 300 of them have the name begining with 7012... .csv.
- In each of these 300 files there are 2 strings. Every string is different that's why I can't use for searching some common word from the string.
I need to add to the end of the second string in each of 300 files ( with name 7012...) this text : ",12-05-2013 00:00:0,expected".

I know how to find 300 files by the name from all 3000. Also I know how to find two strings in these files. But I don't understand how to insert my text at the end of the second string.

Please, help me!

Re: Insert in the end of the second line in .csv file

Posted: Tue Mar 11, 2014 11:52 am
by DigitalVolcano
Do you mean there are two lines in each file, and you want to add your string to the end of the second line?