Implemented mbcs_string::replace() methods.