Sample code for 30+ languages & platforms
VBScript

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 VBScript Downloads

VBScript
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)

success = 0

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

set sb = CreateObject("Chilkat.StringBuilder")
success = sb.Append(s)
success = sb.RemoveAccents()

outFile.WriteLine(sb.GetAsString())

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

outFile.Close