trim last two characters in a string .net razor code example
Example: c# remove last character from string
string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);
string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);