# 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])<bigtext-addtext-string-integer-method>|Adds a text string to a BigText variable.
bigtext-addtext-bigtext-integer-method|Adds a text string to a BigText variable.
GetSubText(var Text, Integer [, Integer])<bigtext-getsubtext-text-integer-integer-method>|Gets part of a BigText variable.
GetSubText(var BigText, Integer [, Integer])<bigtext-getsubtext-bigtext-integer-integer-method>|Gets part of a BigText variable.
bigtext-length-method|Retrieves the length of the text stored in this BigText instance.
Read(InStream)<bigtext-read-method>|Streams a BigText object that is stored as a BLOB in a table to a BigText variable.
bigtext-textpos-method|Gets the position at which a specific string first occurs in this BigText instance.
Write(OutStream)<bigtext-write-method>|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.
## Related information
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/bigtext/bigtext-data-type, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/bigtext/bigtext-data-type/
