var
  s: string;
begin
  s := 'DelPhi';
  ShowMessage(s[4]);  //P

  s[4] := 'p';
  ShowMessage(s);  //Delphi
end;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-11
  • 2021-10-10
  • 2022-12-23
猜你喜欢
  • 2021-11-13
  • 2018-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2021-08-14
相关资源
相似解决方案