用"ghiahgiahgia".indexOf("hg"); 返回值>=0为包含,否则就是-1(不包含) 相关文章: 2021-12-04 2022-12-23 2022-12-23 2022-12-23 2022-01-07 2021-06-20 2021-08-04