NeoCSV #skipToNextLine or #skipRemainingColumns ?
Nov. 3, 2017
3:14 a.m.
Hi - I want to import the first and seventh column from a set of 50 csv files each of which could have 28 - 34 columns. Is there a way to have NeoCSV skip the remaining columns automatically (e.g. 8 and up) ? Thanks Paul
Nov. 3, 2017
9:11 a.m.
Hi Paul,
On 3 Nov 2017, at 04:14, PAUL DEBRUICKER <pdebruic@gmail.com> wrote:
Hi -
I want to import the first and seventh column from a set of 50 csv files each of which could have 28 - 34 columns. Is there a way to have NeoCSV skip the remaining columns automatically (e.g. 8 and up) ?
Thanks
Paul
There are NeoCSVReader>>#addIgnoredField and #addIgnoredFields: You could maybe use the header to determine how many fields to skip. There is no, 'skip all remaining fields' yet. HTH, Sven
3192
Age (days ago)
3192
Last active (days ago)
1 comments
2 participants
participants (2)
-
PAUL DEBRUICKER -
Sven Van Caekenberghe