Sample code for 30+ languages & platforms
B4X

StringBuilder EntityDecode

Demonstrates the Chilkat StringBuilder EntityDecode method to decode HTML entities.

Chilkat B4X Downloads

B4X
'  Decode the following HTML entities, replacing each with the character represented.
Dim s As String = "é é é Latin small letter e with acute"

Dim sb As ChilkatStringBuilder
sb.Initialize

sb.Append(s)
sb.EntityDecode

'  Output: é é é Latin small letter e with acute
Log(sb.GetAsString)