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 delete it ?
Try string.TrimEnd():
string.TrimEnd()
Something = Something.TrimEnd(',');
1.4m articles
1.4m replys
5 comments
57.0k users