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("-", "");
1.4m articles
1.4m replys
5 comments
56.9k users