deleteRange

Delete the text between from and to.