|
判断字符串出现的次数
2010/3/21
返回前页 |
|
<%'thechar="被thestring包含的字符串",thestring="包含thechar的字符串" function checkthechar(thechar,thestring) if instr(thestring,thechar) then for n =1 to len(thestring) if mid(thestring,n,len(thechar))=thechar then checkthechar=checkthechar+1 end if next else checkthechar=0 end if end function%> |
|
|
|
|
广告也精彩 |
|
|