Convert HTML and XML entities into characters
Replace HTML character entities with their Unicode equivalent.
str = ["<>" "R&D"]; newStr = decodeHTMLEntities(str)
newStr = 1x2 string array "<>" "R&D"
Replace HTML numeric character references with their Unicode equivalent. Unicode character with hex code
is a space.
str = "R D"; newStr = decodeHTMLEntities(str)
newStr = "R D"
str— Input text
Input text, specified as a string array, character vector, or cell array of character vectors.
["An example of a short sentence."; "A second short