Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

split javascript

var test= "Hi I am a fullstack developper";
var result= test.split("l");
//return:
// [Hi I am a fu,,stack deve,lopper]

/*the split methode replace the (letter/symbole) into the 
brackets to "," and transform it to array.*/
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #split #javascript
ADD COMMENT
Topic
Name
7+1 =