I have a string "I10014" stored as a char, I need to do arithmetic on each of the numbers individually i.e. 1 * 5, so that I have a result for each sum and then add them all up to have a total. But I want to do it in a function, so will need to pass the string to it.
Please help.