binary-string-concat: Concatenate two strings.

Description Usage Arguments Examples

Description

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

Usage

1
2
3
x %p% y

x %s% y

Arguments

x, y

A character vector

Examples

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

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

stringformattr documentation built on Dec. 17, 2017, 9:03 a.m.