TextLength 屬性(Selection 物件)

檢索所選文字的長度。如果長度超過 2,147,483,647,則返回值為 2,147,483,647。

[JavaScript]

len = document.selection.TextLength;

[VBScript]

len = document.selection.TextLength

版本

支持 EmEditor Professional 26.1 或更新版本。