Add String::replace_first and String::replace_last
#97977
Closed
String::replace_first and String::replace_last
#97977