문자열을 자를 땐, str = '012345' 이라 가정했을 때
str.substring(3) -> 345 str.substring(3,6) -> 345
str.substring(3)
str.substring(3,6)
와 같이 출력된다.