Function returns sum of all numbers of a string. E.g.: '17852' = '1+7+8+5+2' = '23' = '2+3' = '5'
Brain Games from Hexlet projects