I have a string that contains numbers like this: 2243. What I need to do is get a total of these numbers. So using that example the numbers in the string would be converted to integers and I'd be able to do this: 2+2+4+3 = 11.

Not having coded in quite a while I find myself a bit stumped on this (probably) quite easy task.

All help is much appreciated!