TextLength 属性(Selection 对象)

获取所选文本的长度。如果长度超过 2,147,483,647,则返回值为 2,147,483,647。

[JavaScript]

len = document.selection.TextLength;

[VBScript]

len = document.selection.TextLength

版本

支持 EmEditor Professional 26.1 或更高版本。