This version of Unity is unsupported.

InputField.caretPosition

public int caretPosition;

Description

Current InputField caret position (also selection tail).

The location where entering new text will begin. If there is selected text this will refer to where the selection was finished.