Lines Matching full:substr
1038 .. c:function:: Py_ssize_t PyUnicode_Tailmatch(PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction)
1040 Return ``1`` if *substr* matches ``str[start:end]`` at the given tail end
1050 .. c:function:: Py_ssize_t PyUnicode_Find(PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction)
1052 Return the first position of *substr* in ``str[start:end]`` using the given
1064 .. c:function:: Py_ssize_t PyUnicode_Count(PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end)
1066 Return the number of non-overlapping occurrences of *substr* in
1075 .. c:function:: PyObject* PyUnicode_Replace(PyObject *str, PyObject *substr, PyObject *replstr, Py_ssize_t maxcount)
1077 Replace at most *maxcount* occurrences of *substr* in *str* with *replstr* and