Answers for "how to remove the first and last " from the a string in c#"

C#
36

c# remove last character from string

string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);
Posted by: Guest on June-19-2020
4

c# remove first 5 characters from string

str = str.Substring(n); //Where n is the number of characters you want to remove
Posted by: Guest on April-20-2020

Code answers related to "how to remove the first and last " from the a string in c#"

C# Answers by Framework

Browse Popular Code Answers by Language