Paste element and add elememt separators.
commaAnd(x, comma = ", ", and = " and ")
x | vector of to be coerced to character strings (see |
---|---|
comma | element separator. |
and | last element separator (for 3 elements in |
#> [1] "Judith, Peter and Rebecca"