qwert Posted December 28, 2016 Share Posted December 28, 2016 helllo, i'm exporting data in .csv format , i got the string data with (example-"data") ,so i don't want this double quote in my exported file, current exported file i have attached below,in reference to that the i want B instead "B". also another thing is that i open exported (.csv) file with option called"edit with notepad" so it will open in notepad the all string data were display with double quote,in that data includes time format which i don't want with double quote. 192_168_10_103.csv Link to comment Share on other sites More sharing options...
AzeoTech Posted December 28, 2016 Share Posted December 28, 2016 For that much control you should use the File. functions to write the file yourself from script. This will give you total flexibility on how the file is written to disk. Link to comment Share on other sites More sharing options...
qwert Posted December 31, 2016 Author Share Posted December 31, 2016 Thanks for replay. Please give me sample program which descried the File. function. Secondly also provide the solution for above requirement. Link to comment Share on other sites More sharing options...
AzeoTech Posted January 4, 2017 Share Posted January 4, 2017 Its pretty straight forward: private handle = file.open("c:\myfile.csv",0,1,0,1) file.write(handle, formatDateTime("%c",systime()) + "," + myStringData) file.close(handle) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.