如何从此字符串中拆分多个引号?请帮助我,我的项目因此而停留在这里。
strLine1.trim().equalsIgnoreCase("Header Perceived Severity="":Friendly Name="":Alarm Type="":Specific Problems="":Event Date and Time="":Clearing Status="":Clearing Time="";");
答案 0 :(得分:2)
您的代码无法编译:
strLine1.trim().equalsIgnoreCase("Header Perceived Severity="":Friendly Name="":
Alarm Type="":Specific Problems="":Event Date and Time="":
Clearing Status="":Clearing Time="");
strLine1.trim().equalsIgnoreCase("Header Perceived Severity=\"\":Friendly Name=\"\":
Alarm Type=\"\":Specific Problems=\"\":Event Date and Time=\"\":
Clearing Status=\"\":Clearing Time=\"\"");