//String 타입
String str = "abcde";
str.length() // 5 문자열 길이
str.CharAt(0) // 'a' 0번째 글자 가져오기
str.subString(a,b) // a부터 b 까지 문자열 일부 가져오기
str.equals(a) // 문자열 비교, a와 같은지 비교하기
str.equalsIgnoreCase(a) // 문자열 비교, 대소문자 상관x, a와 같은지 비교하기
str.toUpperCase(a) // 문자열 대문자로 변환
str.toLowerCase(a) // 문자열 소문자로 변환
str.contains(a) // 문자열이 특정 문자열 포함하는지 확인
str.replace(a,b) // 문자열 a를 b로 교체하기
str.split(a) // 문자열 a를 기준으로 나눠서 배열로 반환하기
str.trim() // 문자열 좌우 공백 제거하기
str.indexOf(a) // 문자열에서 처음 나타나는 a의 인덱스를 찾아 반환, 없으면 -1반환
str.lastIndexOf(a) // 문자열에서 마지막에 나타나는 a의 인덱스를 찾아 반환, 없으면 -1반환
str.startWith(a) // 문자열이 a로 시작하는지 여부 반환
str.endWith(a) // 문자열이 a로 끝나는지 여부 반환