Skip to contents

Split Vector

Usage

split_1(x)

Arguments

x

<character> vector

Value

<character> vector

Examples

split_1(c("AA", strrep(LETTERS[1:5], 2), "Z"))
#> [[1]]
#> [1] "AA" "AA"
#> 
#> [[2]]
#> [1] "BB"
#> 
#> [[3]]
#> [1] "CC"
#> 
#> [[4]]
#> [1] "DD"
#> 
#> [[5]]
#> [1] "EE"
#> 
#> [[6]]
#> [1] "Z"
#>