binary-string-concat {stringformattr}R Documentation

Concatenate two strings.

Description

%p% and %s% are wrappers for paste0(..., collapse = '') and paste(..., collapse = ' '), respectively, which combine two character vectors.

Usage

x %p% y

x %s% y

Arguments

x, y

A character vector

Examples

'the quick brown fox jum' %p% 'ped over the lazy dog'

gen_sql <- function(column, table) "SELECT" %s% column %s% "FROM" %s% table


[Package stringformattr version 0.1.2 Index]