- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
function CopyEx(s:string; index,count:integer):string;
var
len,ln:integer;
begin
ln:=0;
if index <1 then index:=1;
len:=length(s);
ln:=len-count;
dec(ln);
dec(len,(index+ln));
result:=copy(s,index,len);
end;
Копец?)