11 Replies Latest reply on Feb 14, 2008 1:25 PM by 800322

    problem in reading null value present at the end in csv file

      I have a csv file in which at the last of each line is a null value or just comma is there.Whenever I use list.get(19)+""; it is throwing this exception
      java.lang.IndexOutOfBoundsException: Index: 19, Size: 19

      In csv file there are 20 columns in header and below that are the values written for these columns.So at last of each row there is no value or just comma is there.e.g
      header: h1,h2,h3,h4

      Like this data is there.....
      So how to get the last one from each row.........