Delphi Format中的换行符号是什么

var
  s,s1,s2,s3:string;
begin
  s:='Hello';
  s1:=' World';
  s2:=format('%s%s%s',[s,#13#10,s1]);
  s3:=Format('%s'#13#10'%s',[s,s1]);
  ShowMessage(s2);
  ShowMessage(s3);

end;
 
#13#10两边都是有单引号的

#13#10在这里不能用
\n无效
 
    ShowMessage( Format('%s,%s,%s',['hello',#13#10,'world']) );
 
 
[浙]-LCXLShadow(837277426)  15:48:47





相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2023-03-13
  • 2021-06-21
  • 2022-12-23
  • 2021-11-16
猜你喜欢
  • 2021-09-03
  • 2021-12-13
  • 2022-12-23
  • 2021-08-02
  • 2021-08-15
  • 2022-01-26
相关资源
相似解决方案