Answers for "string how to remove first character in c#"

C#
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
1

c# remove first three characters from string

str = "hello world!";
str.Substring(n, str.Length-n)
Posted by: Guest on October-22-2020

Code answers related to "string how to remove first character in c#"

C# Answers by Framework

Browse Popular Code Answers by Language