BlackRock Interview Question

Change string into integer