Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.DecodeFromHTML
Decodes html text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 2.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.DecodeFromHTML"; text { ; Options } ) More
(old name: String.DecodeFromHTML)
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
text | The text you want to decode. | "Grüße" | |
Options | Pass 1 to leave XML escapes unchanged. | 0 | Optional |
Result
The decoded text.
Description
Decodes html text.Removes escaping for special characters. e.g. converts "ü" to "ü".
See also EmailParser.HTMLToPlainText.
Examples
Decode html text
MBS( "Text.DecodeFromHTML"; "Grüße" )
Example result: Grüße
Decode html entities, but leave xml entities unchanged:
MBS("Text.DecodeFromHTML"; "<test>ä&<</test>"; 1)
Example result: "<test>ä&<</test>"
See also
- EmailParser.HTMLToPlainText
- Text.DecodeFromBytes
- Text.DecodeFromHex
- Text.DecodeFromURL
- Text.DecodeFromXML
- Text.EncodeToHTML
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 5.1pr6
- MBS FileMaker Plugin, version 5.1pr1
- MBS FileMaker Plugin, version 5.0pr7
- MBS Filemaker Plugin 2.4 release notes
- MBS Filemaker Plugin, version 2.4pr8
This function checks for a license.
Created 18th August 2014, last changed 16th June 2022