Answers for "remove start of string c#"

C#
1

remove end character of string c#

str = str.Remove(str.Length - 1);
Posted by: Guest on December-31-2021
0

remove first character in a string c#

// initial string is "/temp" it will be changed to "temp"
data.Remove(0,1);
data.TrimStart('/');
data.Substring(1);
Posted by: Guest on November-06-2020

Code answers related to "remove start of string c#"

C# Answers by Framework

Browse Popular Code Answers by Language