Say we have the following string
string data= "/temp string";
If we want to remove the first character /
we can do by a lot of ways such as :
data.Remove(0,1);
data.TrimStart("https://stackoverflow.com/");
data.Substring(1);
But, really I don’t know which one has the best algorithm and doing that faster..
Is there a one that is the best or all are the same ?