strunshift: shove new element(s) x onto a (possibly splittable on y)...

Description Usage Arguments Value

View source: R/strunshift.R

Description

shove new element(s) x onto a (possibly splittable on y) string x after [z] unlike Perl or C versions, this function does not modify w behind the scenes

Usage

1
strunshift(w, x, y = " ", z = 0)

Arguments

w

a string

x

new element(s) to shove onto w

y

a split character (default is " ")

z

after which element is x appended (default is 0, i.e. prepend x)

Value

the string produced by shoving x onto str2vec(w, y) after [z]


arcolombo/TxDbLite documentation built on July 10, 2020, 12:27 a.m.