how do i read character by character from a text file?I need to check for "\n" and split the file on it.
for eg:
I am a girl.I livein acd.
My name is sdljnl.
usoihuid.
So finally i want to delete the 1st msg(line) from thefile so that the file becomes.
My name is sdljnl.
usoihuid.
I am not able to read the file character by character.Please Help!

Recommended Answers

All 2 Replies

Is that pre-requirement of your assignment or you just do not know how to read text file?
Have look at BufferedReader.readLine()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.