splitter: Split strings using strsplit in a way that can easily be used...

Description Usage Arguments

View source: R/rf1_main.R

Description

Split strings using strsplit in a way that can easily be used within sapply

Usage

1
splitter(string, delimiter, position, as.string = 0)

Arguments

string

The string to be split

delimiter

What to use to split the string

position

Which part of the string to retain. Only one piece can be retained To retain multiple pieces, do a separate function call for each piece

as.string

0 Result will be numeric, 1 Result will be string


akeyel/rf1 documentation built on Dec. 28, 2020, 4:48 a.m.