Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/lib. A collection of common utilities I need. www.npmjs.com/package/@samual/lib
Something went wrong. Try again.
12345export const spliceString = (string: string, toInsert: string, index: number, length = 0) => string.slice(0, index) + toInsert + string.slice(index + length)
export default spliceString