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 Aug. 19, 2024, 7:29 p.m.