Returns the current index of the cursor.
The type of the value contained in the document
The document
The path to the string
Returns the current index of the cursor.