s
o
u
l
s
j
i
e
摘要: 1.统计一个字符串在字符串中出现的次数 例如:查找“this”在目标字符串中出现的次数 string a = "thisismythis"; int count1 = (a.Length - a.Replace("this", "").Length) / "this".Length; 结果为:2 2 阅读全文
posted @ 2020-12-09 14:24 soulsjie 阅读(292) 评论(0) 推荐(0)
你累吗?累就对了,当你觉得累时证明你在走上坡路!-----Soulsjie - 2016-12-14 08:43