确实无发直接减去,以下的方法是很笨的:
procedure TForm1.Button1Click(Sender: TObject);
var
myarray1,myarray2: array of char;
begin
setlength(myarray1,3);
myarray1[0]:='a';
myarray1[1]:='b';
myarray1[2]:='c';
setlength(myarray2,2);
myarray2[0]:=myarray1[1];
myarray2[1]:=myarray1[2];
end;