I have string
like this:
string something = "12+3-1";
something.hereIwantToRemoveFirstElement();
Console.WriteLine(something); // i want to get "2+3-1"
Is it possible? Or maybe I should do like that to remove char from string, like it is in List
?
something.RemoveAt(2);
Console.WriteLine(something);// i want to get "123-1"
Or maybe there is easy way to convert entire string to list, and then remove specific element?
something.ToList().
something.RemoveAt(0);// i want to get "2+3-1"
Can you please tell me how to do it efficiently?