RAD Studio VCL Reference
|
Returns a string with the specified number of characters.
function StringOfChar(ch: char; count: Integer): AnsiStringT; static;
static __fastcall AnsiStringT StringOfChar(char ch, int count);
System::AnsiStringT::StringOfChar returns a string containing count characters with the character value given by ch. For example,
System::AnsiStringT s = System::AnsiStringT::System::AnsiStringT::StringOfChar('A', 10);
sets s to the string "AAAAAAAAAA".
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|