sum of digits in alphanumeric string