Skip to contents

Split Character Vector at End

Usage

split_end(x)

Arguments

x

<character> vector

Value

<list> of character vectors

Examples

split_end(c("0741T", "E0628", "L4387", "0360T", "1127F", "0002M"))
#> [[1]]
#> [1] "E0628"
#> 
#> [[2]]
#> [1] "L4387"
#> 
#> [[3]]
#> [1] "1127F"
#> 
#> [[4]]
#> [1] "0002M"
#> 
#> [[5]]
#> [1] "0741T" "0360T"
#>