textField properties

is it possible to get information about the cursor position in a text field ?
i mean things like the current character index that the cursor is sitting at, etc.