I have this string: \"123-456-7\"
I need to get this string: \"1234567\"
How I can replace occurrences of \"-\" with an empty string?
Use String.Empty or null instead of "" since "" will create an object in the memory for each occurrences while others will reuse the same object.