Hi guys,
in .NET is there a function that returns the root letter (the letter without special attributes like cedilla), kinda:
Select Case c
Case "á", "à", "ã", "â", "ä", "ª" : x = "a"
Case "é", "è", "ê", "ë" : x = "e"
Case "í", "ì", "î", "ï" : x = "i"
Case "ó", "ò", "õ", "ô", "ö", "º" : x = "o"
Case "ú", "ù", "û", "ü" : x = "u"
Case "Á", "À", "Ã", "Â", "Ä" : x = "A"
Case "É", "È", "Ê", "Ë" : x = "E"
Case "Í", "Ì", "Î", "Ï" : x = "I"
Case "Ó", "Ò", "Õ", "Ô", "Ö" : x = "O"
Case "Ú", "Ù", "Û", "Ü" : x = "U"
Case "ç" : x = "c"
Case "Ç" : x = "C"
Case Else
x = c
End Select
This code miss some letters, but it's only for the example sake :)