split_string: Split a string at every position of a delimiter, and returns...

Description Usage Arguments

View source: R/split_string.R

Description

Split a string at every position of a delimiter, and returns the subset at a specified index.

Usage

1
split_string(string_vector, return_position = 1, sep_char = "_", fixed = TRUE)

Arguments

string_vector

the string to split

return_position

the index of the split string to return

sep_char

the delimiter to use to split the string

fixed

logical passed to strsplit. If TRUE match split exactly, otherwise use regular expressions.


mkumar-rapttx/RAPTR documentation built on July 3, 2021, 10:14 p.m.