⦁ 문자열: http://www.hanbit.co.kr/
1. length 문자열의 길이: 24
2. charAt(2) 두번째 글자: t
3. indexOf(/) '/'가 처음 나타나는 위치: 5
4. lastIndexOf(/) '/'가 마지막으로 나타나는 위치: 23
5. substring(0,5) 문자열 자르기: http:
⦁5-2. substring(7) 문자열 자르기: www.hanbit.co.kr/
6. concat(add) 문자열 더하기: http://www.hanbit.co.kr/💜💜💜
7. toUpperCase() 모든 문자열을 대문자로 변환: HTTP://WWW.HANBIT.CO.KR/
8. toLowerCase() 모든 문자열을 소문자로 변환: http://www.hanbit.co.kr/
9. replace(Hong's,Kim's)
데이터 원본: Hong's number is 123-4567
데이터 대체: Kim's number is 123-4567
10. split(',')
데이터 원본: One,Two,Three,Four,Five
0~One1~Two
2~Three
3~Four
4~Five