Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

split() js

/*

Known As:

PHP:
explode()

Python:
.split() 

*/

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

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