I not sure how to go about this and could use a helpful pointer to get me in the right direction.
I have created a csv file in my main application which I'm able to add and remove lines from it if needed and is displayed in a scrollview table.
I have a Widget that would need to read and write entries into the csv file.
First I need to be able to read the last line in the cvs file. Afterwards I parse specific data from it (the last line).
Question is how do I read the size of the cvs file so I can obtain what the last line is as a integer.
Then I need to read that line into a string variable so I can parse it afterwards.
Then after that is done I would need to append a new line to the csv file.
Can this be done?
Thanks,
Appreciate any help.
Bryan
I have created a csv file in my main application which I'm able to add and remove lines from it if needed and is displayed in a scrollview table.
I have a Widget that would need to read and write entries into the csv file.
First I need to be able to read the last line in the cvs file. Afterwards I parse specific data from it (the last line).
Question is how do I read the size of the cvs file so I can obtain what the last line is as a integer.
Then I need to read that line into a string variable so I can parse it afterwards.
Then after that is done I would need to append a new line to the csv file.
Can this be done?
Thanks,
Appreciate any help.
Bryan