The byte offset where the word to the left of index starts.
previous_word :: (text: string, index: int) -> int
The byte offset where the word to the left of index starts.
Parameters
- text: string
- index: int
Returns
- int
The byte offset where the word to the left of index starts.
previous_word :: (text: string, index: int) -> int
The byte offset where the word to the left of index starts.