Answers for "javsacript split string at position"

1

javsacript split string at position

let hey="helloworld";
let index=5;
hey.substring(0, index);//hello
hey.substring(index);//world
Posted by: Guest on March-24-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language