i have to store msgs of string type in a file in java.how do i distinguish between 2 msgs.and how shud i delete the first msg in the file.
for eg:
"My name is abc.I am fbvnfdl.I am a girl." is stored in a file.
and "My name is abc.I am fbvnfdl." is the 1st msg
and "I am a girl." isthe 2nd msg
and i have to delete the 1st msg.This is dynamic string and the length is also unknown.
Please help!
Thanks...its URGENT!!