Hi
can someone help to deal with file
i have file that has format:
E008,Michelle,1980, manager, 17000
E008,George,1970, manager, 10600
E008,Jonathan,1940, manager, 25000
i don't have any problem with reading or writing to file
my question is:
there is a quick way to update specific element in file like salary
How i can while i am reading from file change element from specific line like salary
for example
E008,Michelle,1980, manager, 17000
E008,Michelle,1980, manager, 0
thanks
you need to read the whole file and re-write it to a new
plcae and while doing it you can parse the contents get to the element you need and replace it.