字符串:string s = “1,2,3,4,5,”
目标:删除最后一个 “,”
方法:s=s.substring(0,s.length-1)