# string.decodeForHTML()

Decodes the given encoded string.

```
string.decodeForHTML( )
```

**Returns:** string

*This function does not take any arguments.*

# Examples

```cfml
dec='&lt;script&gt;'.decodeForHTML();
dump(dec);
str = '&lt;script&gt;';
dec=str.decodeForHTML();
dump(dec);
```

# Categories

[Strings](../../../categories/string.md), [Encode/Decode](../../../categories/esapi.md), [HTML](../../../categories/html.md)

# See Also

[DecodeForHtml()](../../functions/decodeforhtml.md), [String](../string.md)