c# string remove the first character code example
Example: 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);
// initial string is "/temp" it will be changed to "temp"
data.Remove(0,1);
data.TrimStart('/');
data.Substring(1);