Parse a string and verify it is an integer. In the above diagram:
Note: The starting and ending spaces have been removed from the string.