1.3.0 • Published 9 years ago

string-splice v1.3.0

Weekly downloads
912
License
ISC
Repository
github
Last release
9 years ago

Build Status #Useage:

splice(str, index, count, add)

#Example

var splice = require('string-splice') ;

var exampleString = 'abcdefg'

splice(exampleString, 1, 2, 'ZZZ');
//'aZZZdefg'

#Attributions: Taken from the answer to this stack overflow question: http://stackoverflow.com/questions/20817618/is-there-a-splice-method-for-strings