indexOf()方法:直接上代码:String s = "01234560123456";int a = s.indexOf('1'); // 返回第一个字符1的下标int b = s.indexOf("23"); // 返回第一个字符串“23”的下 ...
確定! 回上一頁