示例代码
public static void main(String args[]){
String test=null;
if(some condition)
test = "\"abc\"";
else
test ="def";
// if condition is true , in debug mode when i check the value of test its ""abc"" (double double quote);
// if condition is false , then value of test is "def" (double quotes only one time);
}
寻找一种逻辑来检查字符串是否有双双引号。试过下面的东西
// test.startsWith("\"\"")) // this didn;t work