Question d’entretien chez Juniper Square

string manipulation question, quite basic