Returns total of three digits entered as string.

Converts from string to array to sum of integers.