Implement String::replace, String::removeCharAt and String::split.