split and join in node code example
Example: split and join in node js
var str = "How are you doing today?";
var res = str.split(" ");
var join = res.join(",");
var str = "How are you doing today?";
var res = str.split(" ");
var join = res.join(",");