Javascript: SubTextPartEventArgs.length Property
Description
The length of the SubTextPart in characters.
Syntax
<number> SubTextPartEventArgs.lengthExamples
The following example demonstrates SubTextPartEventArgs.length in a practical document-editing workflow. The length of the SubTextPart in characters.
function inspectLength(subTextPartEventArgs) {
const length = subTextPartEventArgs.length;
console.log("length:", length);
}