首页 » Visual Basic » vb经典函数
vb经典函数
'返回一字符B在字符串A中出现的次数 Function strCount(strA , strB ) lngA = Len(strA) lngB = Len(strB) lngC = Len(Replace(strA, strB, "")) strCount = (lngA - lngC) / lngB End Function
上一篇: vb中调用资源文件的方法
下一篇: VB取得外网IP和内网IP
'返回一字符B在字符串A中出现的次数 Function strCount(strA , strB ) lngA = Len(strA) lngB = Len(strB) lngC = Len(Replace(strA, strB, "")) strCount = (lngA - lngC) / lngB End Function
上一篇: vb中调用资源文件的方法
下一篇: VB取得外网IP和内网IP
目前这篇文章有22条评论(Rss)