TimC 0 Posted May 31 Has the Embarcadero developer network forum and code central been abandoned? I can locate Code Central but cannot access the threads and I cannot land on the developer network forum at all. Has all that information been lost? -Tim C. Share this post Link to post
Darian Miller 361 Posted May 31 5 hours ago, TimC said: Has all that information been lost? Not all lost...just not as easily accessible. Do you have a particular CodeCentral item that you are interested in? Share this post Link to post
Darian Miller 361 Posted June 10 I didn't find a lot on CodeCentral for CSV. There was an ancient demo of a component from WinSoft. https://www.winsoft.sk/csv.htm Another article with Java code but not much else. Might want to checkout GitHub https://github.com/joaoduarte19/csvparser https://github.com/nanaksr/CSVParser https://github.com/afpineda/CSVUtils https://github.com/bomrafinha/FormatConverter https://github.com/git-bee/janSQL Here's a blog post on using FireDAC for CSV: https://blogs.embarcadero.com/this-is-how-to-easily-process-csv-data-using-firedac/ Share this post Link to post
Angus Robertson 574 Posted June 10 TStringList handles most requirements for CSV handling with the CommaText method, you can change the delimiter if needed. You read one line at a time into TStringList.CommaText and get one line per column, or vice versa to create a CSV record. The file can be read or written with a second TStringList or sequentially with normal file handling code if large. Angus Share this post Link to post
dummzeuch 1505 Posted June 10 For creating csv files I wrote this a while ago: https://sourceforge.net/p/dzlib/code/HEAD/tree/dzlib/trunk/src/u_dzCsvWriter.pas I thought I also had a similiar unit/class for reading csv files, but I can't find it right now. Share this post Link to post