How to replace a char in string with an Empty character in C#.NET

后端 未结 8 1374
感动是毒
感动是毒 2020-12-13 23:27

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

8条回答
提交回复
热议问题