Skip to contents

Group Length 5

Usage

group_5(x)

Arguments

x

<list> of character vectors

Value

<list> of character vectors

Examples

c("C7510", "C9710", "G0200", "G0400") |>
   split_lengths() |>
   remove_redundant() |>
   split_first() |>
   group_5()
#> [[1]]
#> [[1]][[1]]
#> [1] "C7510"
#> 
#> [[1]][[2]]
#> [1] "C9710"
#> 
#> 
#> [[2]]
#> [[2]][[1]]
#> [1] "G0200"
#> 
#> [[2]][[2]]
#> [1] "G0400"
#> 
#>