get position in string from caret position

Printable View