Hello all,  

I've got an intresting little dunno how or where to start: 

Lets say, I've got numerous Comma Separated Values, for this example 
lets say they contain information about fruit sales for different stores... 
Now, there are two stores, the second store has got a wider selection than 
the other. 

The CSV's contain information about fruit that has been sold that day. 
The first line of the CSV describes what the rest of the fields are. The 
following lines show the sales trend for the above mentioned products. 

If I only want to get the numbers sold for lets say apples, oranges and 
grapefruit, for both stores How would I go about it? 

I've tried using split, but it gives me the incorrect values... 


Maybe this would help out a little: 


<File for Store A> 
apples, oranges, pears, lemons, grapefruit 
5, 0, 4, 6, 2 
2, 6, 2, 0, 0
4, 7, 2, 1, 0

<File for Store B> 
apples, melon, oranges, pears, coconut, lemons, grapefruit
4, 3, 2, 7, 1, 4, 0
3, 1, 4, 4, 0, 0, 1
0, 4, 0, 0, 4, 5, 0  


Your help would be GREATLY apreciated! 


Thanks 
Mark


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to