CString str=_T("aaa;vvv");int index=str.Find(_T(";")); str=str.Left(str.GetLength()-index-1); AfxMessageBox((LPCTSTR)str); 相关文章: 2021-11-27 2021-11-30 2022-01-07 2021-10-16 2021-09-18