Here is an example of csv file:
customerNo,firstName,lastName,birthDate,mailingAddress,married,numberOfKids,favouriteQuote,email,loyaltyPoints
1,John,Dunbar,13/06/1945,"1600 Amphitheatre Parkway
Mountain View, CA 94043
United States",,,"""May the Force be with you."" - Star Wars",jdunbar@gmail.com,0
2,Bob,Down,25/02/1919,"1601 Willow Rd.
Menlo Park, CA 94025
United States",Y,0,"""Frankly, my dear, I don't give a damn."" - Gone With The Wind",bobdown@hotmail.com,123456
For exmaple, How can I get the all the column values belong to lastName?
I expect the result should be [Dunbar, Down].
I've tried to search the doc, but could not find any useful example.
One more question is that, what's the meaning of getLineNumber() method? I've read the docu and it says "Gets the current position in the file. The first line of the file is line number 1." But I am still confusing.