In article ,
"Jeff Petter" wrote:

> CString strCh = " ";
> int ch = 0;

....
> strCh = s.Mid (pos, 1);
> ch = ttoi(strCh);


Why not:

ch = s[pos];