* Returns a clone of `s`, with all content before the `start` and `end` characters of the original string removed.
(start: number, end: number)
| 953 | * Returns a clone of `s`, with all content before the `start` and `end` characters of the original string removed. |
| 954 | */ |
| 955 | snip(start: number, end: number): this { |
| 956 | const clone = this.clone() |
| 957 | clone.remove(0, start) |
| 958 | clone.remove(end, clone.original.length) |
| 959 | |
| 960 | return clone |
| 961 | } |
| 962 | |
| 963 | /** @internal */ |
| 964 | _split(index: number): boolean | void { |