wconho 发表于 2014-4-18 19:06 主要是两个String类方法的不同: contains方法:返回值boolean 。s1.contains(temp)比较的是temp表示的字符 ...