Question d’entretien chez Microsoft

How to split a string without using the split method?