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 pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JS #syntax
ADD COMMENT
Topic
Name
5+3 =