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
When you have spaces at the end. you can use beliow.
ProcessStr = ProcessStr.Replace(" ", ""); Emails = ProcessStr.TrimEnd(';');