str-detect: str_detect

str_detectR Documentation

str_detect

Description

Detect the presentce/absence of a match

Usage

str_detect(string, pattern, negate = FALSE)

Arguments

string

input string

pattern

pattern to look for

negate

if TRUE, inverts the resulting boolen vector

Value

logical vector

Author(s)

Guangchuang Yu


yulab.utils documentation built on Sept. 11, 2024, 9:25 p.m.