Tests to see if a substring is embedded in a String, and returns the index position of the ... String str = "CCCP"; int p1 = str.indexOf("C"); int p2 = str.
確定! 回上一頁