YOUSEFUL / DELPHI / COMPONENTS
TAtlasRow
One row of string values, TArray<string>, as returned by AtlasParseCSV.
Description
TAtlasRow = TArray<string>. AtlasParseCSV returns TArray<TAtlasRow>, one element per CSV record; the table stores its rows in the same form internally.
This type has no members of its own beyond those listed in its description.
Examples
Parse CSV into rows
Prints 2 fields: Name | Note and 2 fields: Ink, black | He said "fine": quoted commas and doubled quotes are decoded.
uses System.SysUtils, Atlas.Data;
procedure PrintCsvFields(const Text: string);
var
Row: TAtlasRow;
begin
for Row in AtlasParseCSV(Text) do
Writeln(Length(Row), ' fields: ', string.Join(' | ', Row));
end;Related
Also in Atlas VCL
TAtlasTable · TAtlasGrid · TAtlasValueEdit · TAtlasTree · TAtlasWorkbook · TAtlasSheetGrid · TAtlasPivot · TAtlasInspector · TAtlasRichEdit · TAtlasSpellChecker · TAtlasChart · TAtlasGauge · TAtlasThemer · TAtlasWizard · TAtlasWorkspace · TAtlasCommandBar · TAtlasActionTile · TAtlasTileBoard · TAtlasNavigation · TAtlasMap · TAtlasGraph · TAtlasDiagram · TAtlasPrintDocument · TAtlasSchedule · TAtlasScheduler · TAtlasTaskPlan · TAtlasGantt · TAtlasPdfDocument · TAtlasPdfViewer