Tcl
Tcl
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 Tcl Downloads
load ./chilkat.dll
set success 0
set s "Números para Mí (Student Edition, Spanish)"
set sb [new_CkStringBuilder]
set success [CkStringBuilder_Append $sb $s]
CkStringBuilder_RemoveAccents $sb
puts [CkStringBuilder_getAsString $sb]
# Output:
# Numeros para Mi (Student Edition, Spanish)
delete_CkStringBuilder $sb