Parse the first number in a string.