removing firstchar of a string c sharp code example
Example 1: c# remove first 5 characters from string
str = str.Substring(n); //Where n is the number of characters you want to remove
Example 2: 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);