[c#] How to Remove the last char of String in C#?

newString = yourString.Substring(0, yourString.length -1);