Modifier

Partager via


TextBuilder.Remove(Integer, Integer) Method

Version: Available or changed with runtime version 1.0.

Removes the specified range of characters from this TextBuilder instance.

Syntax

[Ok := ]  TextBuilder.Remove(StartIndex: Integer, Count: Integer)

Parameters

TextBuilder
 Type: TextBuilder
An instance of the TextBuilder data type.

StartIndex
 Type: Integer
The one-based position in this TextBuilder instance where removal begins.

Count
 Type: Integer
The number of characters to remove.

Return Value

[Optional] Ok
 Type: Boolean
true if the specified range of characters was successfully removed, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

TextBuilder Data Type
Get Started with AL
Developing Extensions