nl_tokens: Replace substring of <code > str< / code > with <code > value< / code >
pl_tokens: function ( str , value , start , <mask> ) { if ( _ . isObject ( start ) && 'end' in start ) { end = start . end ; start = start . start ; } if ( _ . isString ( end ) ) end = start + end . length ; if ( _ . isUndefined ( end ) ) end = start ; if ( start < 0 || start > str . length ) return str ; return str . substring ( 0 , start ) + value + str . substring ( end ) ; }