Sample code for 30+ languages & platforms
DataFlex

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

DataFlex
Use ChilkatAx-win32.pkg

Procedure Test
    Boolean iSuccess
    String s
    Handle hoSb
    String sTemp1

    Move False To iSuccess

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

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSb
    If (Not(IsComObjectCreated(hoSb))) Begin
        Send CreateComObject of hoSb
    End
    Get ComAppend Of hoSb s To iSuccess
    Get ComRemoveAccents Of hoSb To iSuccess

    Get ComGetAsString Of hoSb To sTemp1
    Showln sTemp1

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


End_Procedure