I am interested in counting the amount of items in the first line of a csv.

How would I do this?

set the itemDelimiter to comma -- which it already is unless you changed it earlier in the same handler
get the number of items in line 1 of myCSV


This will work unless there are commas inside quotes somewhere inside the line. If there are, check the archives for a discussion not long ago about parsing CSVs.

Cheers,
Sarah

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to