.split(",", -1);和.split(",")的區別在於://eg:String a="河南省,,金水區".//a.split(",")=[河南省,金水區 ],而a.split(",",-1)=[河南省, ,金水區 ]。.split(",", -1);會保存空值。it