startOffset

The read-only startOffset property of the AbstractRange interface returns the offset into the start node of the range's start position.

MDN Reference