stringMethod : string = 가장 많이 다루는 데이터 타입 index 있음. (0부터 시작) 문자열 데이터 값 내에서는 개행 하는 것은 비추천 new String(); 객체타입 선언은 가능하지만 이후 비교에 어려워 비추천 .length : 문자열의 총 길이 index의 마지막 번호 : lenth-1 문자관련 메서드 : java애서 사용하는 String 메서드와 비슷 (타 프로그래밍 언어도 비슷) 문자 추출 관련 메서드 substr(index, count) : index번지 부터 count개 추출 let str = "apple, banana, orange"; console.log(str.substr(0,5)); //apple // 0번지부터 5개 추출 substring(시작번지,끝번지) & ..