Replacing dragged strings