标签:
Returns a string with a specified number of repeating characters.
In Delphi code, StringOfChar returns a string that contains Count characters, with the character value given by Ch. For example,
S := StringOfChar(‘A‘, 10);
sets S to the string ‘AAAAAAAAAA‘.
Note that StringOfChar returns the same type as ch: either an AnsiString or UnicodeString, so it works properly for both types.
StringOfChar 将一个字符重复多次 形成一个 字符串
标签:
原文地址:http://www.cnblogs.com/delphi-xe5/p/5449815.html