jquery expole striong code example
Example 1: explode in jquery
var result=$(row).split('|');
alert(result);
Example 2: javascript explode
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");