Remove / Replace / Insert part of a string like Array#splice with high performance.
npm i --save str-splice
Code below:
var splice = require('str-splice');
splice('str-splice', 3, 0, 'ing'); // will get string `string-splice`.
ISC@hustcc.
Remove / Replace / Insert part of a string like Array#splice with high performance.
npm i --save str-splice
Code below:
var splice = require('str-splice');
splice('str-splice', 3, 0, 'ing'); // will get string `string-splice`.
ISC@hustcc.
npm i str-splice
2
0.0.1
ISC