Learn R Programming

yulab.utils (version 0.2.3)

str_detect: str_detect

Description

Detect presence/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, invert the result

Author

Guangchuang Yu

See Also

Other str-utils: str_extract(), str_starts(), str_wrap()