System.WideString.StringOfChar

From RAD Studio API Documentation
Jump to: navigation, search

C++

static WideString StringOfChar(WideChar ch, int count);

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

Returns a string with the specified number of characters.

StringOfChar returns a string containing count characters with the character value given by ch. For example,

WideString s = WideString::StringOfChar('A', 10);

sets s to the string "AAAAAAAAAA".