Hello
I have a csv file (approx 20000 lines) and I want to count the number of times the following text (On Hold)appears in a given field (Col4) Example ....
Col1, Col2 , Col3, Col4,
1234, "abcd", 12/05/08, "This ticket place On Hold 12/05/07 and etc etc again placed on hold etc etc"
4567, "dfghfag", 14/05/08, "aaaaa \; On Hold-----On Hold rwg///sdf on hold ffff"
when written to new file the result set will be ...
Col1 Col2 Col3 Col4
1234, "abcd", 12/05/08, 2,
4567, "dfghfag", 14/05/08, 3
Any help much appreciated
Phil
Start Free Trial