* Returns a clone of `s`, with all content before the `start` and `end` characters of the original string removed.
(start: number, end: number)
| 927 | * Returns a clone of `s`, with all content before the `start` and `end` characters of the original string removed. |
| 928 | */ |
| 929 | snip(start: number, end: number): this { |
| 930 | const clone = this.clone() |
| 931 | clone.remove(0, start) |
| 932 | clone.remove(end, clone.original.length) |
| 933 | |
| 934 | return clone |
| 935 | } |
| 936 | |
| 937 | /** @internal */ |
| 938 | _split(index: number): boolean | void { |