(Gast)
n/a Beiträge
|
Re: Extract word from string
13. Feb 2009, 14:05
Hallo,
Delphi-Quellcode:
Var
iPos : Integer;
i1280 : Integer;
i2000 : Integer;
begin
iPos := Pos('x',listbox.items.strings[3]);
i1280 := StrToIntDef(Copy(listbox.items.strings[3],1,iPos - 1),0);
i2000 := StrToIntDef(Copy(listbox.items.strings[3],iPos + 1,255),0);
end;
|
|
Zitat
|