added separatorsToIndex