Skip to contents

Substring test

Usage

isSubstr(pattern, target)

Arguments

pattern

A `character()`

target

The `character()` to look for into the pattern

Value

A boolean

Examples

isSubstr("cde", "abcdefghi")
#> [1] TRUE