You could write a routine that loops through the string, looks for a <, then
copies all text so far upto the < into another string (buffer). Then you
look for a > and then take note of that position.

Start looping again until you find a < and then append the text from your
noted position upto the position of the < into your buffer string.

Repeat this until you reach the end of your string.


HTH,
Nick



:> -----Original Message-----
:> I need a routine to remove all HTML tags from a string (string
:> might be up
:> to a few paragraphs long and include line breaks etc.)
:>
:> Can't use Regular Expressions as only have ASP2.0 and can't use a
:> component on our platform. Isn't there anything as simple as:
:>
:> RemoveHTML(String1)
:>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to