Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #character #string #index
ADD COMMENT
Topic
Name
8+4 =