您即将离开腾讯云开发者社区,请注意您的账号财产安全
http://www.avajava.com/tutorials/lessons/how-do-i-remove-a-newline-from-the-end-of-a-string.html
继续访问