How can I do a indexOf Case Insensite with special chars? I need to search for the word "benefícios", and I want IndexOf to find it even if I don't use the special char on "i"
This way I can't find it:
string str = "candidatar-se a benefícios";
string word = "beneficio";
str.IndexOf(word, StringComparison.OrdinalIgnoreCase)
But with this one I can:
string str = "candidatar-se a benefícios exclusivos";
string word = "benefício";
str.IndexOf(word, StringComparison.OrdinalIgnoreCase)
Thanks