@technobuddha/library
Version:
A large library of useful functions
12 lines (11 loc) • 400 B
TypeScript
/**
* Insert a substring into a string
*
* @param input The string
* @param start The position which to insert the substring
* @param deleteCount The number of characters to delete
* @param items The substring(s) to insert
* @returns The modified strings
*/
export declare function splice(input: string, start: number, deleteCount: number, ...items: string[]): string;
export default splice;