completion--replace

completion--replace is a compiled Lisp function in `minibuffer.el'.

(completion--replace BEG END NEWTEXT)

Replace the buffer text between BEG and END with NEWTEXT.
Moves point to the end of the new text.