Go from a string to a vector whose \(i\)th element is the \(i\)th character in the string.

str_to_vec(string)

Arguments

string

A character vector.

Value

A character vector.

Examples

str_to_vec("abcdef")
#> [1] "a" "b" "c" "d" "e" "f"