The method returns the sum of the numbers in the string.