String concatenation

lhs %+% rhs

Arguments

lhs

a string or vector of strings.

rhs

a string or vector of strings.

Value

a string or vector of strings.

Details

The expression lhs %+% rhs is equivalent to paste(lhs, rhs, sep = " ", collapse = NULL, recycle0 = FALSE). See paste for more details.

See also

Author

Valerio Gherardi

Brief synthax for string concatenation.

Examples

"i love" %+% c("cats", "jazz", "you")
#> [1] "i love cats" "i love jazz" "i love you"