str2vec: array-ify a string with a possible leading path/URL/whatever

View source: R/str2vec.R

str2vecR Documentation

array-ify a string with a possible leading path/URL/whatever

Description

array-ify a string with a possible leading path/URL/whatever

Usage

str2vec(x, y = " ")

Arguments

x

a string

y

a split character (default is " ")

Value

the array produced by splitting basename(x) on y


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