Move the logic of String#insert out of the strategy