PyUnicodeUCS2_Replace

Replace at most maxcount occurrences of substr in str with replstr and return the resulting Unicode object.

  1. PyObject* PyUnicodeUCS2_Replace(PyObject* str, PyObject* substr, PyObject* replstr, Py_ssize_t maxcount)
    version(Python_Unicode_UCS2)
    PyUnicodeUCS2_Replace
  2. alias PyUnicode_Replace = PyUnicodeUCS2_Replace

Meta