Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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 "ü".

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>&auml;&amp;&lt;</test>"; 1)

Example result: "<test>ä&amp;&lt;</test>"

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 11st December 2016


Text.DecodeFromBytes - Text.DecodeFromHex

Feedback: Report problem or ask question.