Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javsacript split string at position

let hey="helloworld";
let index=5;
hey.substring(0, index);//hello
hey.substring(index);//world
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javsacript #split #string #position
ADD COMMENT
Topic
Name
2+9 =