Predefined function reference
string_count_occurrences
A reference entry for string_count_occurrences
string_count_occurrences (string text, list search[, boolean insensitively[, boolean ignore_duplicates]]) ⇒ boolean
Counts the number of occurrences in the string text of each occurrence in list. List may also be defined as a single string. If ignore_duplicates is true, duplication is ignored. For example, in [is, i] the i would not be recounted in the is.
Alternative function names: str_count_occurrences
Notes
This function is faster than running multiple different functions to perform the same task and whilst this function is designed to be relatively fast itself, it has not been tested with larger datasets and performance may suffer.