CmText.sliceString method
CmText › sliceString
Unofficial
Return the document as a string, using newline characters to separate lines.Signature:
sliceString(from: number, to?: number | undefined, lineSep?: string | undefined): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| from | number | The start position. |
| to? | number | undefined | The end position. |
| lineSep? | string | undefined | The line separator to use. |
Returns: string — The string content.