2.2 JDK原生方法String.contains. 最直觀判斷的方法是 contains(subStr) ,返回型別為 boolean ,如果包含返回 true ,不包含則返回 false 。
確定! 回上一頁