str.list.to.regexp.or | R Documentation |
Transforms a vector of strings like c("A","B","C") into "A|B|C"
## S3 method for class 'list.to.regexp.or' str(str, fixed = TRUE)
str |
a string vector |
fixed |
if TRUE treats str as constants in regexp |
a single string
## Not run: greek=c("alpha","beta","gamma") str.list.to.regexp.or(greek) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.