Description Usage Arguments Examples
Detect the presence or absence of a pattern in a bstr object
1 | bstr_detect(bstrobj, pattern, negate = FALSE)
|
bstrobj |
bstr class object or character vector |
pattern |
regex pattern |
negate |
If TRUE, return non-matching elements. |
1 2 | bstr_detect(c("apple", "banana"), "n")
bstr_detect(c("apple", "banana"), c("a", "n"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.