pastOr: paste for regex OR

View source: R/pastOr.R

pastOrR Documentation

paste for regex OR

Description

paste for regex OR creates regex with OR condutions for all character values in 1st argument

Usage

pastOr(..., pref = NULL, suff = NULL, sep = "|")

Arguments

...

list of characters

pref

prefix, to be added on beginning of string

suff

suffix, to be added on end of the strin

sep

separator, in normal paste(), here used as 'collapse' argument

Examples

pastOr()

barvinch/sendRgrid documentation built on Dec. 31, 2022, 8:48 p.m.