Question d’entretien chez Thoughtworks

Code to get substring of a string