I have this string: "123-456-7"
I need to get this string: "1234567"
How I can replace occurrences of "-" with an empty string?
string r = "123-456-7"; r = r.Replace("-", "");
2.1m questions
2.1m answers
60 comments
57.0k users