Hi guys, i have a large .csv file that contains a lot of Data. I would like to look into this file using a particular field.
For example, my file looks a bit like this: location; company; product code, department, cost, price
So Id like to try with the product code, and if it finds it, it takes the entire line and he appears.
So if I have a file that looks like this.
left wall; wal-mart; 0000 0001; electronic; 7.99; 9.99;
right wall pepsi; 8883 0012; food; 0.01; 3.99;
upper; mcdo; 9981 0011; food; 0.05; 1.99;
So if I search for the product code 0000 0001 it will display left wall, wal-mart, 0000 0001 Electronic 7.99 9.99
Is it better to search directly in the file or transfer it in a string and search in it?
So yeah, if anyone have a link or a algorithm it would be very appreciated!
Thank you guys!
What I have tried:
I try a lot of search on google and didn't find what im looking for!