add String#partition and String#rpartition.