摘要:
/// /// 计算字符串中子串出现的次数 /// /// 字符串 /// 子串 /// 出现的次数 static int SubstringCount(string str, string substring) { if (str.Contains(substring)) { string strReplaced = str.Replace(substring, ""); return ... 阅读全文
posted @ 2013-11-13 13:51
程序员徐坤
阅读(24848)
评论(4)
推荐(3)
浙公网安备 33010602011771号