any_is_substring_of: Whether or not any substring of a string is any of a set of...

Description Usage Arguments Value Examples

Description

Whether or not any substring of a string is any of a set of strings.

Usage

1
any_is_substring_of(string, set_of_strings)

Arguments

string

character.

set_of_strings

character.

Value

logical

Examples

1
2
stopifnot(syberia:::any_is_substring_of('test', c('blah', 'te', 'woo'))) # TRUE
stopifnot(!syberia:::any_is_substring_of('test', c('blah', 'woo'))) # FALSE

robertzk/syberia documentation built on May 27, 2019, 11:37 a.m.