Delphi.format填充0

1、

string str := Format('DR%.8d', [100]);// 一共8位数字不够的补零

2、

3、

4、

5、