Returns the exclusive UTF-16 end offset of range index.
if index is outside 0 until rangeCount.
0 until rangeCount