orString: orString: Generate An OR Regular Expression Substring

Description Usage Arguments Value Author(s)

View source: R/cString.R

Description

orString concatenates strings for use in regular expression, like "(a|b|c)"

Usage

1
orString(chars)

Arguments

chars

a character vector of strings to be concatenated

Value

a character string, of the form "(a|b|c)", where a, b and c are the elements of chars, concatentated

Author(s)

M.W.Rowe, mwr.stats@gmail.com


mwrowe/microRutils documentation built on June 12, 2021, 2:41 p.m.