string Name = "Teste," string ReturnName = ""; ReturnName = Name.Remove(Name.Length - 1);
myString = myString.Substring(0, myString.Length-3);