- Preparing search index...
- The search index is not available
Kombo - v3.0.0
- findSubString(smallString: string, offset: number, row: number, col: number, bigString: string): [number, number, number]
-
Parameters
-
smallString: string
-
offset: number
-
row: number
-
col: number
-
bigString: string
Returns [number, number, number]
Find a substring after a given offset.
Example
Note that "🙉" is two bytes long in UTF-16 and that offset is counted in bytes.
Remarks
Returns offset, row, and column. In that order.