var str = "1,21,".TrimEnd(',');

var str = "1,21,".TrimEnd(',');

原文地址:https://www.cnblogs.com/yibinboy/p/5166147.html