如何编写一个过滤HTML代码的函数

<
Function Filterhtml (strToFilter)
昏暗的strtemp
strtemp = strtofilter
而仪器(1,strtemp,)
strtemp =左(strtemp,仪器(1,strtemp,))

filterhtml = strtemp
端功能
%>