Whether or not any substring of a string is any of a set of strings.
any_is_substring_of(string, set_of_strings)
character.
logical
# 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