how can I strip html

Results 1 to 2 of 2

Thread: how can I strip html

  1. #1
    Join Date
    Dec 1969

    Default how can I strip html

    If I have a string that has html, asp or ssi tags, does anyone have any ideas on how to remove those to display just the text in the string without any of the markup? Thanks.

  2. #2
    coderwannabee Guest

    Default RE: how can I strip html

    hello<BR><BR><BR>you can use the replace function:<BR><BR>striphtml= Replace(thestring, "&#060;P&#062;", "",1,-1,1)<BR>striphtml2= Replace(striphtml, "&#060;h1&#062;", "",1,-1,1)<BR>striphtml3= Replace(striphtml2, "&#060;/h1&#062;", "",1,-1,1)<BR><BR>this might take a while to write because of the amount of tags your striping.. someone else may have a better solution for you...

Posting Permissions

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