Java中将一个反斜杠转换成两个反斜杠

代码示例:

s = s.replaceAll("\\\\", "\\\\\\\\");
posted @ 2018-12-05 16:06  zifeiy  阅读(1080)  评论(0)    收藏  举报