Replace a range of characters.
Source position: syssbh.inc line 112
public function TUnicodeStringBuilder.Replace( |
const OldChar: WideChar; |
const NewChar: WideChar |
):TUnicodeStringBuilder; |
const OldChar: WideChar; |
const NewChar: WideChar; |
StartIndex: Integer; |
Count: Integer |
):TUnicodeStringBuilder; |
const OldValue: UnicodeString; |
const NewValue: UnicodeString |
):TUnicodeStringBuilder; |
const OldValue: UnicodeString; |
const NewValue: UnicodeString; |
StartIndex: Integer; |
Count: Integer |
Replace replaces occurrences of OldValue with the characters in NewValue. The search operation starts at position StartIndex (0-based, default 0) till position StartIndex+aCount is reached.
If StartIndex or StartIndex+aCount is out of range, an ERangeError exception is raised.
|
Append the result of a Format. |
|
|
Append a string followed by a newline. |
|
|
Append data in string form to the buffer. |
|
|
Insert data in string form into the buffer at a given position. |
|
|
Clear the string being built. |
|
|
Remove data from the string. |