16,466
社区成员
发帖
与我相关
我的任务
分享
CString str1("Content-Type:");
CString str2("\r\n");
CString str("*******Content-Type:**********\r\n*****");
int nStart = str.Find( str1 ) + str1.GetLength();
int nEnd = str.Find( str2 );
CString strResult = str.Mid( nStart, nEnd-nStart);