标签:cstring
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半,布布扣,bubuko.com
标签:cstring
原文地址:http://blog.csdn.net/biggbang/article/details/38372511