Microsoft Interview Question

Write a method to parse an integer from a string.