Redgate Software interview question

Q: Parse a string format of an integer to an integer