Reputation: 167
so i have a csv file which each line is a an hex String (for exemple :
1/55aa55aa
2/65ba65ba
and so on until 64.
What i would like to know is , is there any way to point to a specific line (let's say 35) without having to read the first 34 lines ?
NB : I can already read and write the whole file.
Upvotes: 0
Views: 281
Reputation: 2305
By csv you are implying each line/value is separated by a comma, so:
String[] hexes = yourcsv.split(",");
String line35 = hexes[34];
Upvotes: 1