help regarding triming
Dear friends,
How to trim my empty line in text file..
out =new FileInputStream("example.txt");
dout=new DataInputStream(out);
while(dout.available()!=0)
{
line=dout.readline();
--
-
}
so if there is any empty line at first and or last.. the condition (ie) while() loop fails ultimately i cont read the data.How can i trim those empty line
thanks in advance.
kailash.s

