Enriched string offset insert method to also allow character
replacement.