Given a string with text and digits, add all the numbers together.
Examples:
Input str = '4 and 20 blackbirds baked in a pie' Output total is 24
Input str = '2 4 6 8 who do we appreciate?' Output total is 20
2409 Solvers
316 Solvers
124 Solvers
The sum of the numbers in the vector
294 Solvers
132 Solvers
Opportunities for recent engineering grads.
Apply Today