explode in jquery

JavaScript
var result=$(row).split('|');
    alert(result);
Source

Also in JavaScript: