getNthElement: Get Nth Element

Description Usage Arguments Examples

View source: R/hello.R

Description

Returns the nth element of a string split on a character

Usage

1
getNthElement(string, n, delim = "_")

Arguments

string

the string to split

n

which element of the split string to return

delim

character to split on, default is underscore

Examples

1

supermartha/marthaTools documentation built on Nov. 4, 2018, 8:03 a.m.