Create unrepeated substring