FORMAT函数,该如何处理
FORMAT函数
StrSnBegin := Format( 'x=%.5d ', [12]);
其中的 '5 '不能用变量,有什么办法吗?
------解决方案--------------------
s := '5 ';
StrSnBegin := Format( 'x=%. ' + s + 'd ', [12]);
StrSnBegin := Format( 'x=%.5d ', [12]);
其中的 '5 '不能用变量,有什么办法吗?
------解决方案--------------------
s := '5 ';
StrSnBegin := Format( 'x=%. ' + s + 'd ', [12]);