Skip to content

TUnicodeStringBuilder.Remove

Remove data from the string.

Declaration

Source position: syssbh.inc line 110

public 
function TUnicodeStringBuilder.Remove(StartIndex: Integer; 
                                     RemLength: Integer)
                                      : TUnicodeStringBuilder;

Description

Remove will remove RemLength characters from the string buffer, starting at position StartIndex (0-based).

Errors

If the range of characters to remove falls outside the allowed range of characters, then an ERangeError exception is raised.

See also

Name Description
AppendFormat Append the result of a Format.
AppendLine Append a string followed by a newline.
Append Append data in string form to the buffer.
Insert Insert data in string form into the buffer at a given position.
Clear Clear the string being built.