Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

explode() js

/*

Known As:

PHP:
explode()

Python:
.split() 

*/

//Syntax -
// .split("character")

const Pi = "3.14159265358979323";
var DecimalSeparated = Pi.split(".");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js
ADD COMMENT
Topic
Name
4+8 =