Platforms to show: All Mac Windows Linux Cross-Platform
RemoveHTMLTagsMBS(AsciiTextWithTags as string) as string
Function:
Removes all html tags from the string.
Example:
Notes:
Returns "" on low memory.
Written to be used with UTF8 strings.
Added Linux support in v5.1.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | String | MBS Util Plugin | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
Dim s As String = "<div> <P param=""value"">Hello</P> </div>"
Dim t As String = RemoveHTMLTagsMBS(s)
MsgBox t // returns "Hello"
Returns "" on low memory.
Written to be used with UTF8 strings.
Added Linux support in v5.1.
Some examples using this global method:
Some FAQ entries about this method:
Blog Entries
The items on this page are in the following plugins: MBS Util Plugin.

Links
MBS Xojo Plugins