DS Server

Javascript: SubTextPartInfo.start Property

Property|Introduced in 26.0

Description

Optional. The one-based starting position of the SubTextPart.

Syntax

<number> SubTextPartInfo.start

Examples

The following example demonstrates SubTextPartInfo.start in a practical document-editing workflow. Optional. The one-based starting position of the SubTextPart.

function inspectStart(subTextPartInfo) {
    const start = subTextPartInfo.start;
    console.log("start:", start);
}