Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to extract text from HTML?
Answer: Use both RemoveHTMLTagsMBS and DecodingFromHTMLMBS like this:
dim html as string = "<p><B>Gr&uuml;&szlig;e</B></P>"
dim htmltext as string = RemoveHTMLTagsMBS(html)
dim text as string = DecodingFromHTMLMBS(htmltext)

MsgBox text // shows: Grüße
You can use it together with RemoveHTMLTagsMBS to remove html tags. What you get will be the text without tags.
DecodingFromHTMLMBS turns HTML escapes back to unicode characters. Like &auml; to ä.

Feedback, Comments & Corrections

MBS Xojo blog