TextBuilder.ToText(Integer, Integer) Method
Version: Available or changed with runtime version 1.0.
Converts the value of a substring of this TextBuilder instance to a Text.
Syntax
Result := TextBuilder.ToText(StartIndex: Integer, Count: Integer)
Parameters
TextBuilder
Type: TextBuilder
An instance of the TextBuilder data type.
StartIndex
Type: Integer
The starting position of the substring in this TextBuilder instance.
Count
Type: Integer
The number of characters in the substring.
Return Value
Result
Type: Text
The result text substring.
Related information
TextBuilder Data Type
Get Started with AL
Developing Extensions