strpart: Split strings and extract nth element

View source: R/de_function.R

strpartR Documentation

Split strings and extract nth element

Description

Function building on base::strsplit to extract nth element of a character string after splitting

Usage

strpart(x, split, n, fixed = FALSE)

Arguments

x

input character vector

split

character vector containing a regular expression for splitting

n

element to extract

fixed

passed to strsplit


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.