Meta interview question

Given a string that represents and integer, convert it to an integer.