Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

implode js

var fruits_str   = "Fraise, Citron, Banane";
var fruits_array = fruits_str.split(", ");

/*******************/

var fruits_array = ["Fraise", "Citron", "Banane"];
var fruits_str   = fruits_array.join(", ");
 
PREVIOUS NEXT
Tagged: #implode #js
ADD COMMENT
Topic
Name
2+9 =