has.substr | R Documentation |
Returns for every element of str whether there is a match with pattern works similar than grepl
has.substr(str, pattern, fixed = TRUE, perl = FALSE, ignore = NULL)
## Not run: str = c("12347382709") pattern = c("a","4","56","34","766","b") has.substr(str,pattern) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.