- 9
- 0
- 约1.88万字
- 约 27页
- 2017-06-10 发布于河南
- 举报
格式化字符串(国外英文资料)
格式化字符串(国外英文资料)
Formatted string
The function Format (const Format: string; const Args: array of const) : string;
The Format string specification:
% [index :] [ ] [ ] [ ]
The formatting string must start with %
(2) the index refers to the sequence number of each item shown in the Args parameter list. Such as: the Args is
[ a , c], then a has an index of 0, and c has an index of 1, and only because of it
Two terms, so there will be no more than one index.
Format ( % 2: s % 1: s, 1st, 2nd, 3rd);
Result: 32nd 1st
(3) [ - ] this identifier is used to fill Spaces on the right when the number of char
原创力文档

文档评论(0)