Which is the best way to escape the string when using split method in Java?

前端 未结 0 1237
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 09:32

I try to use Matcher.quoteReplacement,but I find it can escape $ but do not escape |.So I try to use the other method StringEscapeUt

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