Question d’entretien chez Google

write a string splitting function that did not copy the string