str_detect2: Str_detect with NA handling

View source: R/str_detect2.R

str_detect2R Documentation

Str_detect with NA handling

Description

Str_detect with NA handling

Usage

str_detect2(string, pattern, default = F)

Arguments

string

Input vector. Either a character vector, or something coercible to one.

pattern

Pattern to look for. See str_detect .

default

a default value to be used if string is NA

Value

a logical vector, assuming default is set to logical. Using a string or numeric value will coerce the value to the class of default.


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.