method SdlStringInput.prototype.read
SdlStringInput.prototype.read(
from: number,
to: number
): string

Read the part of the document between the given positions.

Parameters

from: number

The starting position (0-based, inclusive).

to: number

The ending position (0-based, exclusive).

Return Type

string

Usage

import { SdlStringInput } from ".";