Sample code for 30+ languages & platforms
Visual FoxPro

Remove Accent Marks from Chars in String

Removes the accent marks from Latin and Central European chars in a string.

Note: The RemoveAccents method was added in Chilkat v9.5.0.91. This example requires Chilkat v9.5.0.91 or greater.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL lnSuccess
LOCAL s
LOCAL loSb

lnSuccess = 0

s = "Números para Mí (Student Edition, Spanish)"

loSb = CreateObject('Chilkat.StringBuilder')
lnSuccess = loSb.Append(s)
loSb.RemoveAccents()

? loSb.GetAsString()

* Output:
* Numeros para Mi (Student Edition, Spanish)

RELEASE loSb