syberia (version 0.6.1.9009)

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

Description

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

Usage

any_is_substring_of(string, set_of_strings)

Arguments

string

character.

set_of_strings

character.

Value

logical

Examples

Run this code
# NOT RUN {
stopifnot(syberia:::any_is_substring_of('test', c('blah', 'te', 'woo'))) # TRUE
stopifnot(!syberia:::any_is_substring_of('test', c('blah', 'woo'))) # FALSE
# }

Run the code above in your browser using DataLab