I have a string like this:
string val = \"123-12-1234\";
How can I replace the dashes using an empty string in C#.
I mean val
val
This seems too simple, but:
val.Replace("-","");