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