Answers for "remove char at string at position x c#"

C#
5

c# remove character from string at index

string s = "This is string";
s = s.Remove(2, 1);
//Output: Ths is string


string s = "This is string";
s = s.Remove(2, 2);
//Output: Th is string
Posted by: Guest on July-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language