PyUnicodeUCS4_RSplit

Split a string giving a list of Unicode strings.

If sep is NULL, splitting will be done at all whitespace substrings. Otherwise, splits occur at the given separator.

At most maxsplit splits will be done. But unlike PyUnicode_Split PyUnicode_RSplit splits from the end of the string. If negative, no limit is set.

Separators are not included in the resulting list.

  1. PyObject* PyUnicodeUCS4_RSplit(PyObject* s, PyObject* sep, Py_ssize_t maxsplit)
    version(!Python_Unicode_UCS2)
    PyUnicodeUCS4_RSplit
  2. alias PyUnicode_RSplit = PyUnicodeUCS4_RSplit

Meta