亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

ASP計算str2在str1中出現(xiàn)的次數(shù)

 更新時間:2008年05月15日 23:29:59   作者:  
可以方便計算一個字符串在另一個字符串出現(xiàn)的次數(shù)
function CountStr(str1,str2)
       dim tmp,i,j
       if str1="" or isnull(str1) then
                 j=0
       elseif str2="" or isnull(str2) then
                 j=1
       else
                tmp=split(str1,str2)
                j=0
               for i=0 to ubound(tmp)
                          if tmp(i)<>"" then j=j+1
               next
        end if
        countstr=j
end function

相關(guān)文章

最新評論