TUnicodeStringBuilder.Create¶
Create a new TUnicodeStringBuilder instance.
Declaration¶
Source position: syssbh.inc line 43
public
constructor Create;
constructor Create(aCapacity: Integer);
constructor Create(const AValue: UnicodeString);
constructor Create(aCapacity: Integer; aMaxCapacity: Integer);
constructor Create(const AValue: UnicodeString; aCapacity: Integer);
constructor Create(const AValue: UnicodeString; StartIndex: Integer;
aLength: Integer; aCapacity: Integer);
Description¶
Create creates an empty TUnicodeStringBuilder instance. It can optionally set the initial capacity to aCapacity and the maximum capacity to aMaxCapacity and can also initialize the string buffer with characters from aValue: aLength characters starting at StartIndex (1-based) will be copied to the string buffer. If aLength and StartIndex are omitted, then all characters are copied.
See also¶
| Name | Description |
|---|---|
| Capacity | Current capacity of the string buffer. |
| MaxCapacity | Maximum capacity of the string buffer. |