PyUnicode_Split

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. If negative, no limit is set.

Separators are not included in the resulting list.

  1. PyObject* PyUnicode_Split(PyObject* s, PyObject* sep, Py_ssize_t maxsplit)
    version(Python_3_3_Or_Later)
    PyUnicode_Split
  2. alias PyUnicode_Split = PyUnicodeUCS2_Split
  3. alias PyUnicode_Split = PyUnicodeUCS4_Split

Meta