igrep {jamba} | R Documentation |
case-insensitive grep
Description
case-insensitive grep
Usage
igrep(..., ignore.case = TRUE)
Arguments
... , ignore.case |
parameters sent to |
Details
This function is a simple wrapper around base::grep()
which
runs in case-insensitive mode. It is mainly used to save keystrokes,
but is consistently named alongside vgrep
and
vigrep
.
Value
vector of matching indices
See Also
Other jam grep functions:
grepls()
,
igrepHas()
,
igrepl()
,
provigrep()
,
unigrep()
,
unvigrep()
,
vgrep()
,
vigrep()
Examples
V <- paste0(LETTERS[1:5], LETTERS[4:8]);
igrep("D", V);
igrep("d", V);
vigrep("d", V);
[Package jamba version 1.0.4 Index]