PyUnicode_Partition

Partition a string using a given separator. Availability: >= 2.5

  1. PyObject* PyUnicode_Partition(PyObject* s, PyObject* sep)
  2. alias PyUnicode_Partition = PyUnicodeUCS2_Partition
  3. alias PyUnicode_Partition = PyUnicodeUCS4_Partition
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2 && Python_2_5_Or_Later)
    extern (C)
    alias PyUnicode_Partition = PyUnicodeUCS4_Partition

Meta