projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website]
/
node_modules
/
underscore.string
/
splice.js
1
var chars = require('./chars');
2
3
module.exports = function splice(str, i, howmany, substr) {
4
var arr = chars(str);
5
arr.splice(~~i, ~~howmany, substr);
6
return arr.join('');
7
};