Sample code for 30+ languages & platforms
Visual FoxPro

StringBuilder EntityDecode

Demonstrates the Chilkat StringBuilder EntityDecode method to decode HTML entities.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL s
LOCAL loSb

* Decode the following HTML entities, replacing each with the character represented.
s = "é é é Latin small letter e with acute"

loSb = CreateObject('Chilkat.StringBuilder')

loSb.Append(s)
loSb.EntityDecode()

* Output: é é é Latin small letter e with acute
? loSb.GetAsString()

RELEASE loSb