Doc.getRange method
Doc › getRange
Unofficial
Gets the text between the given points.Signature:
getRange(from: Position, to: Position, separator?: string | undefined): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| from | Position | The start position. |
| to | Position | The end position. |
| separator? | string | undefined | Optional line separator. |
Returns: string — The text between the positions.