• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
wjshan0808

Learn from yesterday, Live for today, For a better tomorrow.
 ————wjshan0808

博客园    首页    新随笔    联系   管理    订阅  订阅
2013年4月28日
八种方法计算字符串中特定字符的数量
摘要: 从网络上总结的,便于以后的学习(*^__^*) 嘻嘻……源文件:http://pan.baidu.com/share/link?shareid=432792&uk=3912660076using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace 求字符串中某个字符的数量{ /// /// 对于每个方法加个判断 /// str.IndexOf(char arg)>0 ? ///... 阅读全文
posted @ 2013-04-28 17:46 wjshan0808 阅读(1140) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3