Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

split() JS syntax

/*

Known As:

PHP:
explode()

Python:
.split() 

*/

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

const Pi = "3.14159265358979323";
var DecimalSeparated = Pi.split(".");
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JS #syntax
ADD COMMENT
Topic
Name
3+1 =