SAPO::Utility.String->htmlEntitiesDecode

This method will convert listed HTML entities to character.

This is static method.

Syntax

SAPO.Utility.String.htmlEntitiesDecode(string)

Compatibility

All browsersYes

Depends

Input Parameters

  • (string) string : Input string

Sample

 http://js.sapo.pt/SAPO/Utility/String/sample/

Example

alert(SAPO.Utility.String.htmlEntitiesDecode('string "to" <convert> to entities'));

Community feedback

Error: Failed to load processor AddComment
No macro or processor named 'AddComment' found