0

i want to remove ` symbol from below string . how can i do that?

For example :

string StateName = "Québec"; in the above string e character has special symbol, how can i remove special symbol from the string to make it as Quebec;

beginner
  • 39
  • 7

1 Answers1

0

the ` symbol itself cannot be removed, you can use Replace method of the string to do this

string StateName = "Québec";
StateName = StateName.Replace('é','e');

That will do it

Yuri
  • 2,820
  • 4
  • 28
  • 40