grapes-plus-grapes: String concatenation

%+%R Documentation

String concatenation

Description

String concatenation

Usage

lhs %+% rhs

Arguments

lhs

a string or vector of strings.

rhs

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.

Value

a string or vector of strings.

Author(s)

Valerio Gherardi

Brief synthax for string concatenation.

See Also

paste

Examples

"i love" %+% c("cats", "jazz", "you")

kgrams documentation built on Oct. 6, 2023, 5:06 p.m.