Lets say I have a text file with the following data
Username
User ID
Details
suppose, I want to insert a new line "User screenname" inbetween "User ID" and "Details".
How should I do this ?
Is it possible to insert string at a specific line ?
since these have a variable string length for different users, i think its not possible to use seekToFileOffset
and update the file.
please help me out.
Thanks