Bewerken

Delen via


BigText Data type

Version: Available or changed with runtime version 1.0.

Handles large text documents.

Instance methods

The following methods are available on instances of the BigText data type.

Method name Description
AddText(Text [, Integer]) Adds a text string to a BigText variable.
AddText(BigText [, Integer]) Adds a text string to a BigText variable.
GetSubText(var Text, Integer [, Integer]) Gets part of a BigText variable.
GetSubText(var BigText, Integer [, Integer]) Gets part of a BigText variable.
Length() Retrieves the length of the text stored in this BigText instance.
Read(InStream) Streams a BigText object that is stored as a BLOB in a table to a BigText variable.
TextPos(Text) Gets the position at which a specific string first occurs in this BigText instance.
Write(OutStream) Streams a BigText object to a BLOB field in a table.

Remarks

This data type cannot be shown in a message window or be seen in the Debugger. The maximum length of a BigText variable is 2,147,483,647 characters and this corresponds to 2 GB. You can use the BigText methods to manipulate a BigText variable, for example to extract part of a BigText variable or to add a text string to a BigText variable. The normal string methods cannot be used with a BigText variable.

Get Started with AL
Developing Extensions