Some functions I often use when I write ASP (2)

xiaoxiao2021-03-06  71

'// Filter Torge Function Function Chkbadwords (FString, Badwords) Dim BWORDS BWORDS = Split (Badwords, "|") FString = Replace (Fstring, BWORDS (I), String (Len (BWORDS (I) Regexp Objregexp.Ignorecase = true objRegexp.global = True

ObjregExp.pattern = "(" & Word & ")" strcontent = objRegexp.replace (strcontent, " $ 1 ")

Set objRegexp = Nothing boldword = strcontent End Function

转载请注明原文地址:https://www.9cbs.com/read-91658.html

New Post(0)