text file to string and back to file again
i need to read a text file to a string. Add a line to the string and then output back to the text file.
The text file is a list of strings:
this is a test
this is a second test
this is what i need to add to the file
I can read a single line from a text file to a string but i cant make it search through the whole text file!!
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center