cut string and assign into array in javascript
<p>Does anyone know how can I cut a string and then assign into an array with javascript? Example:</p>

<p>var string = "15;24;67;34;56";</p>

<p>I hope tp cut this string into below format and assign into the array:</p>

<p>a[0] = 15
a[1] = 24
a[2] = 67
a[3] = 34
a[3] = 56</p>
