ulf,I think startsWith method wont help me.actually i had already done a program in
jsp to read a text file and to read the particular columns to insert into particular fields like this.
text file:
HDR1234uyt56788kiolhj67777
from the above line i have to separate the fields.In that case, i used the below method to separate the fields:
String a=line.substring(0,3);
String b=line.substring(3,10);
String c=line.substring(10,15);
Here(0,3) mentions the column count.Like this could i read the lines using the row count?Is there any way?