Read & Write specific line to/from a file .
User April (email@example.com) posted:
I have to Read and write a specific line from a file.
Ex of the records are: the first field is for identification of a state,
and I need to read and write basing upon the State for which I need to
generate some policies. The second field is an integer of range # to
######. Firstly I need to read the file to get the start number for the
State for which I want to generate Policy and finally I need to write the
end number to the same file.
Can anyone of you help me?