Learn R Programming

stringb (version 0.1.17)

text_which: generic function to know in which elements a pattern can be found

Description

generic function to know in which elements a pattern can be found

text_which default method

generic function to know in which elements a pattern can be found

Usage

text_which(string, pattern, ...)

# S3 method for default text_which(string, pattern, ...)

text_grep(string, pattern, ...)

Arguments

string

the text to be searched through

pattern

regex to look for

...

further arguments passed through to grep