Given the XOJO language has expanded and improved over the past few years, I wonder if anyone has come up with a more clever way to building a .CSV file.
I have a pretty generic requirement, but if I can use this chance to update my skillset why not?! CSV files have a simple header, followed by rows, and escaping commas and whitespace by bracketing each entry in quotes… all pretty straight forward.
I need to create the entries programmatically, and the column order is important to maintain. I’ll be writing the result out to disk via a traditional BinaryStream.
If there are any built-in functions I’m overlooking be sure to embarrass me and point them out.
And have a great day! Thanks!