Teilen Sie sich an und schließen Sie den Knoten JS an
var str = "How are you doing today?";
var res = str.split(" ");
var join = res.join(",");
Embarrassed Echidna
var str = "How are you doing today?";
var res = str.split(" ");
var join = res.join(",");