Efficient way to replace escape sequences when building a String in Java

后端 未结 0 1803
予麋鹿
予麋鹿 2021-01-19 12:08

I have requirement replacing the escape sequences [\\n, \\r, \\t] to "." when building the String. I am using StringBuilder to append multiple strings

相关标签:
回答
  • 消灭零回复
提交回复
热议问题