remove last char in string c# code example
Example 1: c# remove last character from string
string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);
Example 2: vb.net remove last char from string
temp = temp.Trim().Remove(temp.Length - 1)