TextLength Property (Document Object)
Retrieves the length of the document text. If the document contains more than 0x7fffffff UTF-16 characters, the property is truncated to that length. Supported on EmEditor Professional Version 26.3 or later.[JavaScript]
len = document.TextLength;
[VBScript]
len = document.TextLength
Version