Learn R Programming

textutils (version 0.1-6)

HTMLdecode: Decode HTML Entities

Description

Decode HTML entities.

Usage

HTMLdecode(x)

Arguments

x

character

Value

character

Details

Decodes to UTF-8.

References

https://www.w3.org/TR/html5/syntax.html#named-character-references

Examples

Run this code
# NOT RUN {
HTMLdecode("Max & Moritz")
HTMLdecode("4 < 9")
# }

Run the code above in your browser using DataLab