Replaces the text starting at the first position up to
(but not including) the character at the last position with the given text.
Replaces the text starting at the first position up to
(but not including) the character at the last position with the given text.