do you need to .split before you .join in javascript 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(",");