Sha256: 9d62ae7f37315c63aeb89732a597f18ed6022bbfaafe5922128237de39773457
Contents?: true
Size: 181 Bytes
Versions: 19
Compression:
Stored size: 181 Bytes
Contents
var chars = require('./chars'); module.exports = function splice(str, i, howmany, substr) { var arr = chars(str); arr.splice(~~i, ~~howmany, substr); return arr.join(''); };
Version data entries
19 entries across 19 versions & 1 rubygems