I use WinForms c#.I have string value like below,
string Something = \"1,5,12,34,\";
I need to remove last comma in a string. So How can i
Try string.Remove();
string.Remove();
string str = "1,5,12,34,"; string removecomma = str.Remove(str.Length-1); MessageBox.Show(removecomma);