function splice( str, idx ) {
	var parts;
	var out;

	parts = [
		str.substring( 0, idx ),
		str.substring( idx+1 )
	];
	out = parts[ 0 ] + parts[ 1 ];
	return [ out, str[ idx ], parts ];
}
Splices a string.

@private
@param {string} str - input string
@param {NonNegativeInteger} idx - index at which to splice
@returns {Array} array containing the resulting string and the removed character