View source: R/trackProjectFunctions.r
grepl for all words – one function to look for all words in a pattern string in any order.
1 | grepl_allWords(pattern, string, spaces = T, spaces_for_pattern = T)
|
1 2 | grepl_allWords("cats dogs giraffes", "dogs giraffes lions tigers cats") == T
grepl_allWords("cats dogs giraffes", "dogs giraffes lions tigers") == F
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.