Javsacript Split String en position

let hey="helloworld";
let index=5;
hey.substring(0, index);//hello
hey.substring(index);//world
Friendly Hawk