Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Text.DecodeFromHTML

Decodes html text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 2.4 Yes Yes Yes Yes Yes

MBS( "Text.DecodeFromHTML"; text { ; Options } )

(old name: String.DecodeFromHTML)

Parameters

Parameter Description Example value
text The text you want to decode. "Grüße"
Options Optional
Pass 1 to leave XML escapes unchanged.
0

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


Text.DecodeFromBytes   -   Text.DecodeFromHex

Feedback: Report problem or ask question.




Links
MBS FileMaker blog