Skip to contents

Substring test

Usage

is.substr(pattern, target)

Arguments

pattern

A `character()`

target

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

Value

A boolean

Examples

is.substr('cde', 'abcdefghi')
#> [1] TRUE