Given a string and a position index, gets the row the index represents, displaying the surrounding characters, with a second row showing a caret indicator pointing at the index.
The
Optional
Display options
Given a string and a position index, gets the row the index represents, displaying the surrounding characters, with a second row showing a caret indicator pointing at the index.