Description Usage Arguments Examples
View source: R/string_functions.R
stri_subset
is a wrapper of str_subset
that obtains the
subset of strings that don't contain the pattern
1 | stri_subset(string, pattern)
|
string |
Input vector. Either a character vector, or something coercible to one. |
pattern |
Pattern to look for. |
1 2 | fruit <- c("apple", "banana", "pear", "pinapple")
stri_subset(fruit, "p")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.