TA贡献1909条经验 获得超7个赞
bool contain=longstr.Contains("aaa");但是这个方法是System.Linq中的所以VS2005以及以下版本是不支持的
TA贡献1863条经验 获得超2个赞
public bool IsInclude(string reStr, string seStr){return reStr.indexOf(seStr) >= 0 ;}
举报
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号