i구야 2015. 2. 17. 10:18
<html>
 <body>
 <script>
var s="abABCdeABCefg";
 var s2=s.split("ABC"); //ABC를 구분자로 나머지를 추출하여 배열에 넣음
   //배열은 객체에 속하여 object라고 출력됨
document.write(typeof s);
document.write(typeof s2);
 </script>
 </body>
</html>