Skip to contents

stringContains

Usage

stringContains(x, contains)

Arguments

x

vector of character

contains

vector of character

Examples

stringContains(c("abc", "Kabeljau", "Arabella"), "ab")
#> [1] TRUE TRUE TRUE
stringContains(c("abc", "Kabeljau", "Arabella"), "abc")
#> [1]  TRUE FALSE FALSE