string-replace-to-array

Works like String.prototype.replace but outputs an array. Useful for replacing parts of the string with objects of other types.

ranges-apply

Take an array of string index ranges, delete/replace the string according to them