CString 怎样取子串? AfxExtractSubString(fullstr, substr, nIndex, char);in strcore.cppAfxExtractSubString(a, b, 1, '3')就可以了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 CString a="1112211131243112";CString b;int index = b.find("3");b = a.Left(index); int nBeg = a.Find('3');int nEnd = a.Find('3', nBeg + 1);b = a.Mid(nBeg, nEnd - nBeg); CString a="1112211131243112";CString b;int i,j=1,num[2];i=8;while(ture){num[i]=a.FindOneOf(a.getat(i));j++;if (j<2)break;}int len;len=num[1]-num[0];b=a.mid(num[0],len);return b; 怎么显示通过视频采集卡采集到的图像 我下载了个CBase64类,为什么用时出现我样的错误? 如何快速撤分这个字符串? 那位高手能讲一下(关于snmp):怎么通过net-snmp(或winsnmp)建立manager和agent? 五一不能到处玩玩,郁闷ing 菜鸟提问:请问以下两条语句的区别? 在VC中有没有函数或者类可以用来实现VB中的Replace Function,在线急待 麻烦 如何获取光标所在的编辑框文本内容 !!!如何重载"<<"运算符? 请教,来者有份,分值大放送 vc的运行时库是不是全局库。和其他库有什么区别
CString b;int index = b.find("3");
b = a.Left(index);
int nEnd = a.Find('3', nBeg + 1);
b = a.Mid(nBeg, nEnd - nBeg);
CString b;
int i,j=1,num[2];
i=8;
while(ture)
{num[i]=a.FindOneOf(a.getat(i));
j++;
if (j<2)break;
}
int len;
len=num[1]-num[0];
b=a.mid(num[0],len);
return b;