Lasso Soft Inc. > Home

[ string->decodehtml ]

Method

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.

  • Syntax
'String Value'->decodehtml
Examples
  • Beginner

To decode a string of HTML entities into UTF-8 characters:

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

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft