From: Jack Dempsey Date: 2002-01-22T06:56:41+09:00 Subject: RE: converting chars to numeric > 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