chillywinter
Programmer
I created a string separated by commas.
I want to save it using the savedialog but this code doesn't work:
I've discovered that .savetofile doesn't work with strings, so how do I save a string to a file called TEST.CSV?
I want to save it using the savedialog but this code doesn't work:
Code:
CSV_string := '1,2,3' ;
if SaveDialog1.Execute
then CSV_string.savetofile(SaveDialog1.FileName + '.csv');
I've discovered that .savetofile doesn't work with strings, so how do I save a string to a file called TEST.CSV?