strpush: The opposite of strpop: push string(s) onto a string. unlike...

View source: R/strpush.R

strpushR Documentation

The opposite of strpop: push string(s) onto a string. unlike Perl or C versions, this function does not modify w behind the scenes

Description

The opposite of strpop: push string(s) onto a string. unlike Perl or C versions, this function does not modify w behind the scenes

Usage

strpush(w, x, y = " ", z = NULL)

Arguments

w

a string

x

one or more elements to push onto the string

y

optional, split character (default is " ")

z

optional, add x after str2vec(w)[z] (default: length(str2vec(w)))

Value

a string


ttriche/Rscripts documentation built on Sept. 14, 2023, 2:52 a.m.