The easiest way to for-each every char in a String is to use toCharArray() : for (char ch: "xyz".toCharArray()) { }.
確定! 回上一頁