BigText Data Type

Handles large text documents.

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

Method name Description
Length() Retrieves the length of the text stored in this BigText instance.
AddText(String [, 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.
TextPos(String) 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.
Read(InStream) Streams a BigText object that is stored as a BLOB in a table to a BigText variable.

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.

See Also

Getting Started with AL
Developing Extensions