powered by
sub
start, end
pystr_count(str, sub, start = 1, end = max(nchar(str)))
pystr_count("ababab", "aba") pystr_count("abcxyzabc123", "abc") pystr_count("a--b--c", "--", 4) pystr_count(c("one", "two", "three"), "e")
Run the code above in your browser using DataLab