TextBuilder.Insert(Integer, Text) Method
Version: Available or changed with runtime version 1.0.
Inserts a string into this TextBuilder instance at the specified character position.
Syntax
[Ok := ] TextBuilder.Insert(Position: Integer, Text: Text)
Parameters
TextBuilder
Type: TextBuilder
An instance of the TextBuilder data type.
Position
Type: Integer
The position in this TextBuilder instance where insertion begins.
Text
Type: Text
The string to insert.
Return Value
[Optional] Ok
Type: Boolean
true if the insertion of the specified succeeded, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
TextBuilder Data Type
Get Started with AL
Developing Extensions