strshift: grab the first (or z'th) element(s) of x after splitting it...

Description Usage Arguments Value

View source: R/strshift.R

Description

grab the first (or z'th) element(s) of x after splitting it on y unlike Perl or C versions, this function does not modify x behind the scenes

Usage

1
strshift(x, y = " ", z = 1)

Arguments

x

a string

y

a split character (default is " ")

z

which element(s) to retrieve (default is 1)

Value

the element(s) [z] produced by splitting basename(x) on y


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