Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript Split

const printText = "The quick brown fox jumps";
const printSplit = printText.split(" ")
console.log(printSplit);
//output:[ 'The', 'quick', 'brown', 'fox', 'jumps' ]
console.log(printSplit[4]);
//Output: jumps
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Javascript #Split
ADD COMMENT
Topic
Name
2+2 =