CString str = "123,-456(/t)7.89";
CString output = "";
则
AfxExtractSubString(output, str, 0, ','); //123
AfxExtractSubString(output, str, 1, ',); //-456
AfxExtractSubString(output, str, 2, '/t'); //7.89
CString str = "123,-456(/t)7.89";
CString output = "";
则
AfxExtractSubString(output, str, 0, ','); //123
AfxExtractSubString(output, str, 1, ',); //-456
AfxExtractSubString(output, str, 2, '/t'); //7.89