var string = 'jQuery is Cool' var insert = 'VERY' var position = '10' var result = [ string.slice(0, position), insert + ' ', string.slice(position), ].join('')
Source