nl_tokens: Faster alternative to String . replace () when the index of the token to be replaces can t be supplied
pl_tokens: function splice ( str , token , replacement ) { var i = str . indexOf ( token ) ; return str . substr ( 0 , i ) + replacement + str . substr ( i + token . <mask> ) ; }