if判断某个字符串中包含某个字符 str="qweee";//判断str是否包含wif(str.indexOf("w")){ System.out.println("......");} 相关文章: 2022-12-23 2022-12-23 2022-12-23