2 ms·toIndex is defined to be the index after the last element of the range (a half-closed interval).by mikevm 6y agotoIndex is defined to be the index after the last element of the range (a half-closed interval).