Hi All, I am working with CSV in java. I am having one problem or you can say I don't know how to do it :)
I have a CSV file that is as follow:
a,4,5,3,2
b,6,4,6,7
c,5,3,7,2
2d,1,4,5,9
4e,4,2,5,7
m4,7,5,3,6
.
.
.
xyz,1,6,4,8
I want to get all the rows from CSV which contains these following labels in first column, I have all following first column labels in ArrayList
a
c
2d
m4
xyz
The result should be :
a,4,5,3,2
c,5,3,7,2
2d,1,4,5,9
m4,7,5,3,6
xyz,1,6,4,8
Thanks a alot!
P.S: My CSV contains thousands rows and column.