concat: Concatenate character vectors

Description Usage Arguments Value Examples

Description

The length of the two arguments must match, or one of them must be of length one. If the length of one argument is one, then the output's length will match the length of the other argument. See examples below.

Usage

1
lhs %+% rhs

Arguments

lhs

Left hand side, character vector.

rhs

Right hand side, character vector.

Value

Concatenated vectors.

Examples

1
2
3
4
5
6
7
8
"foo" %+% "bar"

letters[1:10] %+% chr(1:10)

letters[1:10] %+% "-" %+% chr(1:10)

## This is empty (unlike for parse)
character() %+% "*"

r-lib/crayon documentation built on Oct. 19, 2018, 12:11 p.m.