Z
_zeus
Unregistered / Unconfirmed
GUEST, unregistred user!
有没有一个函数能实现“Unformat”?例如:<br><br>
<br><br>然后 s1 = 'There'、s2 = 'are'、i = 2、s3 = 'apples'、s4 = 'on'、s5 = 'the'、<br>s6 = 'table'。
代码:
var<br> s1, s2, i, s3, s4, s5, s6: String;<br>begin<br> Unformat('There are 2 apples on the table', '%s %s %d %s %s %s %s',<br> [s1, s2, i, s3, s4, s5, s6]);<br>end;