{"title":"BigText data type","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/bigtext/bigtext-data-type/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/bigtext/bigtext-data-type","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Handles large text documents.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Instance methods","slug":"instance-methods","at":90,"chars":966},{"level":2,"title":"Remarks","slug":"remarks","at":1056,"chars":418},{"level":2,"title":"Related information","slug":"related-information","at":1474,"chars":117}],"text":"> Version: _Available or changed with runtime version 1.0._\nHandles large text documents.\n## Instance methods\nThe following methods are available on instances of the BigText data type.\nMethod name|Description\nAddText(Text [, Integer])<bigtext-addtext-string-integer-method>|Adds a text string to a BigText variable.\nbigtext-addtext-bigtext-integer-method|Adds a text string to a BigText variable.\nGetSubText(var Text, Integer [, Integer])<bigtext-getsubtext-text-integer-integer-method>|Gets part of a BigText variable.\nGetSubText(var BigText, Integer [, Integer])<bigtext-getsubtext-bigtext-integer-integer-method>|Gets part of a BigText variable.\nbigtext-length-method|Retrieves the length of the text stored in this BigText instance.\nRead(InStream)<bigtext-read-method>|Streams a BigText object that is stored as a BLOB in a table to a BigText variable.\nbigtext-textpos-method|Gets the position at which a specific string first occurs in this BigText instance.\nWrite(OutStream)<bigtext-write-method>|Streams a BigText object to a BLOB field in a table.\n## Remarks\nThis 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.\n## Related information\nGet Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}