-
대소문자 변경
str.toLowerCase(); //A -> a str.toUpperCase(); //a -> A문자열 자르기
String str = "Helloworld"; str.substring(0,3) //Hel str.substring(5) //world -> 5이후대소문자여부 확인 (char)
Character.isUpperCase('x') //false Character.isLowerCase('x') //true문자열 반복문
for(char s : str.toCharArray()){} char[] arr = str.toCharArray(); //선언