C#去掉字符串最后面的一个标点符号的写法

 keywordHtml = keywordHtml.Remove(keywordHtml.LastIndexOf(','),1);

原文地址:https://www.cnblogs.com/llcdbk/p/6062862.html