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")

vgherard/kgrams documentation built on Nov. 17, 2024, 8:56 p.m.