Delphi-Quellcode:
...
var
xyi: array of array of double;
...
List1:=TStringList.Create;
try
List1.LoadFromFile('TabSeparated.txt');
setlength(xyi,List1.Count);
for i:=0 to List1.Count-1 do begin
List2:=explode(#9,List1[i]);
try
setlength(xyi[i],List2.Count);
for j:=0 to List2.Count - 1 do
xyi[i, j] := <wandle-den-string-in-einen-wert-um>(List2[j]);
finally
List2.free;
end;
end;
finally
List1.Free;
end;
...
Das problem könnten allerdings die unterschiedlichen Interpretationen der einzelnen Spalten sein...