JS podzielony sznurek z emoji
function splitStringAtIndex(value: string, index: number) {
const arr = [...value] // Fix emojis
return [arr.slice(0, index).join(''), arr.slice(index).join('')]
}
florinrelea