How do I remove diacritics(á,í,ä) and compare it with a string in .NET? [Resolved]

Posted by Gudevg under C# on 4/6/2012 | Points: 10 | Views : 3761 | Status : [Member] | Replies : 5
I need to compare two strings in a word document i work it out for alphabetic and numeric values but it is not able to compare a string which contains diacritics like (Máceres-Cartínez) Here a and i is occur with diacritics so it is not compare with normal stringcompare coding.

How do i want to change this diacritics and compare it?


Thanks
Deego

Deepakkumar G.


Responses

Posted by: Sakthi.Singaravel on: 4/6/2012 [Member] Silver | Points: 50

Up
0
Down

Resolved
hi Deeppakumar,

I think the following is very useful for u. See this..

http://blogs.msdn.com/b/michkap/archive/2005/02/19/376617.aspx

Regards,
Singaravel M

Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gudevg on: 4/6/2012 [Member] Starter | Points: 25

Up
0
Down
Yes this is the code i want.


Thanks,
Deepak G.

Deepakkumar G.

Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/6/2012 [Member] Silver | Points: 25

Up
0
Down
k.. go ahead..

Happy Programming..!

Regards,
Singaravel M

Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 4/6/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

nice link

Thanks

R D Patel

Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/6/2012 [Member] Silver | Points: 25

Up
0
Down
its okay R D Patel..

Regards,
Singaravel M

Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response