欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

vbs:能算出一個(gè)字符在一字段里共出現(xiàn)有幾次的函數(shù)

 更新時(shí)間:2007年04月06日 00:00:00   作者:  
Function RegExpTest(patrn, strng) 
Dim regEx, Matches 
Set regEx = New RegExp 
regEx.Pattern = patrn 
regEx.IgnoreCase = True ‘為真則忽略大小寫,否則嚴(yán)格匹配大小寫 
regEx.Global = True 
Set Matches = regEx.Execute(strng) 
RegExpTest = Matches.count 
End Function 
MsgBox(RegExpTest("is.", "IS1 is2 IS3 is4"))  

相關(guān)文章

最新評(píng)論