I need to remove two characters from the end of the string.
So:
string = "Hello Marco !"
must be
Hello Marco
How can I do it?
You can do:
string str = "Hello Marco !"; str = str.Substring(0, str.Length - 2);
1.4m articles
1.4m replys
5 comments
57.0k users