CString strSource = L"www.baidu.com;xxj;123456";
CString strTmp;
AfxExtractSubString(strTmp, strSource, 1,';');
TRACE(strTmp);
05-08
512
CString strSource = L"www.baidu.com;xxj;123456";
CString strTmp;
AfxExtractSubString(strTmp, strSource, 1,';');
TRACE(strTmp);