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-SMU/yulab.utils documentation built on April 14, 2025, 1:54 p.m.