统计字符串中出现的次数

| |
[不指定 2007/08/14 17:30 | by Else ]

 Function   StrNumber(StrInfo,StrTemp)
 'StrInfo   总字符  
 'StrTemp字符串  
    If   StrInfo   <>""   And   StrTemp<>""   And   len(StrInfo)>len(StrTemp)   Then  
      StrNumber=(len(StrInfo)-len(replace(StrInfo,StrTemp   ,"")))/Len(StrTemp)  
    End   If  
 End   Function


作者:Else 's Blog
地址:http://www.aixq.com/post/804/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“统计字符串中出现的次数”相关内容
  • 中查看更多“统计字符串中出现的次数”相关内容
  • 中查看更多“统计字符串中出现的次数”相关内容
  • 中查看更多“统计字符串中出现的次数”相关内容
  • 中查看更多“统计字符串中出现的次数”相关内容
  • 中查看更多“统计字符串中出现的次数”相关内容
  • Tags: ,
    代码 程序 编程 | 评论(0) | 引用(0) | 阅读(1837)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]
                   

    验证码 不区分大小写