Learn R Programming

yulab.utils (version 0.1.7)

str_detect: str_detect

Description

Detect the presentce/absence of a match

Usage

str_detect(string, pattern, negate = FALSE)

Value

logical vector

Arguments

string

input string

pattern

pattern to look for

negate

if TRUE, inverts the resulting boolen vector

Author

Guangchuang Yu