AfxExtractSubString(fullstr, substr, nIndex, char);
in strcore.cppAfxExtractSubString(a, b, 1, '3')就可以了