> Can someone tell me if there is a nice way to do the following:
>
>          s = "4567"
>          a = s[0]                # --> I want the value '4' not '54', the
ASCII value of 4
>          b = s[1]                # --> 5
>          a + b                   # --> 9

s[0..0]

Jack