如果把字符串最后一位去掉?谢谢!例如,字符串 "afbcfbf ",我要把最后的 "f "去掉.如何做呢?谢谢![解决办法]String s = "123abc456 "; Console.WriteLine(s.Remove(s.Length-1, 1));