You could use `strtr` for a faster version of String::insert() that doesn't require additional dependencies/slower more robust versions. Also `str_replace` would probably work here too.