去掉最后一个字符串

"12,13,14,"这样一个字符串删除最后一个“,”用c#是如何写的

string   st1="12,13,14,";   
st1=st1.Substring(0,st1.Length-1);
原文地址:https://www.cnblogs.com/zhc088/p/1176320.html