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 May 1, 2019, 10:25 p.m.