String str = "a,b,c,";

我们需要删除最后的英文逗点,该怎么办呢?

方法:

1、Substring

str=str.Substring(0,s.Length-1)

点赞(73)

评论列表共有 0 条评论

立即
投稿
返回
顶部