c# remove last character from string builder if comma code example
Example: how to remove last 3 characters from string in c#
myString = myString.Substring(0, myString.Length-3);
myString = myString.Substring(0, myString.Length-3);