stringsplitter: stringsplitter

Description Arguments Examples

Description

split multiple strings and extact indicies

Arguments

strings

vector or list of strings to split

n

indicies of each string to extract (and paste back together)

split

character to split by

Examples

1
2
3
# example string
string <- c("1-4-5", "4-6-3", "1-0-3")
stringsplitter(string, 2)

TomKellyGenetics/tktools documentation built on Dec. 13, 2021, 10:06 p.m.