ChoETL icon indicating copy to clipboard operation
ChoETL copied to clipboard

CSV Write Quote Non Null Only

Open bakes82 opened this issue 3 years ago • 1 comments

Is there an option to only quote non null fields that I don't see? If the string value is null I dont want to see |""|, i just want to see ||. If I say quoteallfield = false then nothing gets quotes and if I say true then all fields get quotes. The use case is NULL = dont write anything, string.empty you would write "" though and any string value would be "my text".

bakes82 avatar Jan 17 '23 16:01 bakes82

Well, there is a way you can accomplish it, sample fiddle shows how

https://dotnetfiddle.net/iNZbhh

Cinchoo avatar Jan 18 '23 02:01 Cinchoo