PyUnicode_Count

Count the number of occurrences of substr in str[start:end].

  1. Py_ssize_t PyUnicode_Count(PyObject* str, PyObject* substr, Py_ssize_t start, Py_ssize_t end)
    version(Python_3_3_Or_Later)
    PyUnicode_Count
  2. alias PyUnicode_Count = PyUnicodeUCS2_Count
  3. alias PyUnicode_Count = PyUnicodeUCS4_Count

Meta