Description Usage Arguments Functions See Also Examples
Inspired by the "like" operator in SQL,
these binary operators are a convenient way of using grepl
.
1 2 3 4 5 6 7 | x %like% y
x %Like% y
x %unlike% y
x %Unlike% y
|
x |
character vector to search |
y |
regular expression |
%like%
: find matching values, ignoring case.
%Like%
: case-sensitive matching.
%unlike%
: finds non-matching values, ignoring case.
%Unlike%
: finds non-matching values and is case-sensitive.
grepvi
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.