Exemplo de Explode quora javascript

//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
Grepper