Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
underscore.string
/
splice.js
blob: 34c04107c0ab1f3131e1272b646c6ffa5aae6c18 [
file
] [
log
] [
blame
]
var
chars
=
require
(
'./chars'
);
module
.
exports
=
function
splice
(
str
,
i
,
howmany
,
substr
)
{
var
arr
=
chars
(
str
);
arr
.
splice
(~~
i
,
~~
howmany
,
substr
);
return
arr
.
join
(
''
);
};