ASp에서 추출한 데이터의 html 라벨 제거

499 단어 html 태그
Function RemoveHTML( strText ) 
nPos1 = InStr(strText, "<")
Do While nPos1 > 0
nPos2 = InStr(nPos1 + 1, strText, ">")
If nPos2 > 0 Then
strText = Left(strText, nPos1 - 1) & Mid(strText, nPos2 + 1)
Else
Exit Do
End If
nPos1 = InStr(strText, "<")
Loop

RemoveHTML = strText
End Function

좋은 웹페이지 즐겨찾기