问: I'm trying to show double quotes but it shows one of the backslashes: "maingame": { "day1": { "text1": "Tag 1", "text2": "Heute startet unsere Rundreise \\\"Example text\\\". Jeden Tag wi
代码如下: public class test{ public static void main(String args[]){ String test=test("sahsjkshabshwkiixab",""); System.out.println(test); } public static String test(String str,String targetstr) { StringBuffer bf = new StringBuffer(); if