strpop: Pop a string off of a string, for (e.g.) grabbing source...

View source: R/strpop.R

strpopR Documentation

Pop a string off of a string, for (e.g.) grabbing source barcodes from GEO. unlike Perl or C versions, this function does not modify x behind the scenes

Description

Pop a string off of a string, for (e.g.) grabbing source barcodes from GEO. unlike Perl or C versions, this function does not modify x behind the scenes

Usage

strpop(x, y = " ", z = NULL)

Arguments

x

a string

y

a split character (default is " ")

z

which element(s) to retrieve (default is the last one)

Value

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


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