CString strScale; strScale.Format(_T("1:%d"),m_pBlock->GetBlkScale()); int iIndex=strTitle.ReverseFind(_T('|')); if(iIndex> -1) { CString str1,str2; str1=strTitle.Mid(0,iIndex); str1 = L"1/2" + str1; str2=strTitle.Mid(iIndex+1,strTitle.GetLength()-iIndex-1); str2 = L"1/2" + str2; }
CString 按想法把字符串分为2半
时间: 2024-10-27 05:16:28