In some times it is necessary to hold Spaces from in a simple CSV-File (without: " ") :
abc,def, ,ghi
abc, , ,ghi
This code solfe the feature:
procedure TAdvStringGrid.InputFromCSVStream(..) the
...
if CSVTrimEmptyCells then //# <--- CSVTrimEmptyCells = New property (Default = true)
while (Length(Buffer) > 1) and (Buffer[1] = ' ') do
begin
delete(Buffer,1,1);
dec(DelimiterPos);
end;
..