Winsoft CSV Library v5.5 for Delphi/C++ Builder 6 - 10.3 Full Source
Winsoft CSV Library v5.5 for Delphi/C++ Builder 6 - 10.3 Full Source
Read and modify existing CSV files:
with TCsv.Create do
try
LoadAnsiFile('c:\data.csv');
ShowMessage(ToString);
if (LineCount > 1) and (FieldCount[1] > 2) then
Fields[1, 2] := 'New value';
ShowMessage(ToString);
finally
Free;
end;