Xbase++
Xbase++
StringBuilder EntityDecode
Demonstrates the Chilkat StringBuilder EntityDecode method to decode HTML entities.Chilkat Xbase++ Downloads
LOCAL s
LOCAL oSb
// Decode the following HTML entities, replacing each with the character represented.
s := "é é é Latin small letter e with acute"
oSb := CreateObject("Chilkat.StringBuilder")
oSb:Append(s)
oSb:EntityDecode()
// Output: é é é Latin small letter e with acute
? oSb:GetAsString()
oSb:destroy()