MFC CString 字符串截取
CString str=_T("aaa;vvv");
int index=str.Find(_T(";"));
str=str.Left(str.GetLength()-index-1);
AfxMessageBox((LPCTSTR)str);
CString str=_T("aaa;vvv");
int index=str.Find(_T(";"));
str=str.Left(str.GetLength()-index-1);
AfxMessageBox((LPCTSTR)str);