str_to_vec: Convert a string to a vector of characters

View source: R/to-vec.R

str_to_vecR Documentation

Convert a string to a vector of characters

Description

Go from a string to a vector whose ith element is the ith character in the string.

Usage

str_to_vec(string)

Arguments

string

A character vector.

Value

A character vector.

Examples

str_to_vec("abcdef")

strex documentation built on May 29, 2024, 3:50 a.m.