netra jay wrote:
p.s: thanks and if possible can you let me know ASAP if you can.
i can read all the Comma Separated file and i got all the data
"Index,Code,Date,Time,Change,List" and i only want to retrieve the data for Index, Code and Date only.
p.s: thanks and if possible can you let me know ASAP if you can.
NO pain NO gain -Nj-
I dont but you all dont like that kind of answer right?? so i will try to understand
[My Blog]
All roads lead to JavaRanch
Is it possible to indicate which column i want using string tokenzier?
[My Blog]
All roads lead to JavaRanch
netra jay wrote:
i think i miss something in the code..
String strar []=i.split(";");
Shouldnt that be a comma (,) instead of a semicolon (;) ?
Index;Code;Date;Time;Change;List
myself wrote:If you use ";" and your data is not delimited with ";", you'll get nothing.
[My Blog]
All roads lead to JavaRanch
System.out.println(i);
[My Blog]
All roads lead to JavaRanch
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|