I'm creating an application where it saves a file according to whats enter into a couple of textboxes. Example: I have a subject textbox which equals "test" and a messagebody textbox which equals "test123", the file saved would look like this:
[Subject]
test
[Body]
test123
There is also a string that equals all the contents of the file. I want to basically open and read the file (already done and working), then write everything between "[Subject]" and "[Body]" to be written to the subject textbox. Also write everything after "[Body]" to the messagebody textbox.