The [string->decodehtml] method decodes HTML entitites into UTF-8 characters which can be handled natively by Lasso's string type. [string->decodehtml] performs the opposite operation of the [string->encodehtml] method, [Encode_HTML] method and the -EncodeHTML keyword.
'String Value'->decodehtml
Use the [string->decodehtml] method. The example takes a string of HTML entities and changes them to their UTF-8 equivalent characters.
Code
'<b>Räksmörgås</b>'->decodehtml
Result
Räksmörgås
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments