Answers for "c# string remove multiple characters"

C#
0

c# split on multiple characters

string tests = "abc][rfd][5][,][.";
string[] reslts = tests.Split(new char[] { ']', '[' }, StringSplitOptions.RemoveEmptyEntries);
Posted by: Guest on December-28-2020
0

replace multiple characters in string c#

string name="$1,300";
Console.Write((name.Replace("$","").Replace(",",""))); // output->  1300
Posted by: Guest on February-23-2021

Code answers related to "c# string remove multiple characters"

C# Answers by Framework

Browse Popular Code Answers by Language