Skip to contents

Split apart a string by each character

Usage

chr_split(x)

Arguments

x

A vector of strings to split

Value

A character vector of length nchar(x)

Examples

chr_split("split this")
#>  [1] "s" "p" "l" "i" "t" " " "t" "h" "i" "s"