javascript

explode 와 같은 함수 split

이상욱1 2016. 2. 2. 11:01
  • var str = "a-b-c"; 

    var arrString = str.split("-"); 

    alert(arrString[0]);