anorgatarrak-wordpress-theme/node_modules/underscore.string/insert.js

6 lines
125 B
JavaScript

var splice = require('./splice');
module.exports = function insert(str, i, substr) {
return splice(str, i, 0, substr);
};