grapes-plus-grapes: Concatenate two strings together with nothing in between.

%+%R Documentation

Concatenate two strings together with nothing in between.

Description

This is intended to be similar to Python + for strings, but vectorised. This is mainly to avoid the awkward syntax of base R base::paste0.

Usage

a %+% b

Arguments

a

A character object.

b

A character object.

Value

The concatenated string.

Examples

"3" %+% "a" #You get "3a"

johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.