MFC CString 字符串截取

    CString str=_T("aaa;vvv");
int index=str.Find(_T(";"));
str=str.Left(str.GetLength()-index-1);
AfxMessageBox((LPCTSTR)str);
原文地址:https://www.cnblogs.com/marky/p/2431009.html