remove HTML-tags

Results 1 to 2 of 2

Thread: remove HTML-tags

  1. #1
    Christin Kiefer Guest

    Default remove HTML-tags

    How can I remove HTML-tags from a string with ASP.<BR><BR>Wheer can I find some code for this?<BR><BR>thanks

  2. #2
    icewolfz Guest

    Default RE: remove HTML-tags

    function striphtml(By Val sText)<BR> striphtml =""<BR> fFound = false<BR> do while instr(stext, "&#060;")<BR> fFound= true <BR> striphtml = striphtml & "" & left(stext, instr(stext,"&#060;")-1) <BR> stext = mid(stext. instr(stext,"&#062;")+1)<BR> loop<BR> striphtml = striphtml & stext<BR> if not fFound then striphtml = stext<BR>end function<BR><BR>this should work<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts