getEndPosition

@IntRange(from = 0)
open fun getEndPosition(): Int

Returns the ending index for this range.

Return

Ending index, effectively starting index + length.