如何从此字符串中拆分多个引号?请帮助我,我的项目因此卡在这里。
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="");
.
strLine1.trim().equalsIgnoreCase("Header Perceived Severity=\"\":Friendly Name=\"\":
Alarm Type=\"\":Specific Problems=\"\":Event Date and Time=\"\":
Clearing Status=\"\":Clearing Time=\"\"");