Question d’entretien chez Deloitte

Difference between scan and substr?