Answers for "how to remove particular substring in string in C#"

C#
-2

remove specific character from string c#

string input = "1, 2, 55";

//This will split the string for everything that is in between ", "
string[] inputSplit = input.Split(", ");

//items in inputSplit = "1" "2" "55"
Posted by: Guest on March-31-2021
-1

remove substring from string c#

string hello = "Hello Word";
string result = hello.Replace("lo Wo","");
Posted by: Guest on August-11-2021

Code answers related to "how to remove particular substring in string in C#"

C# Answers by Framework

Browse Popular Code Answers by Language