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")

rorynolan/strex documentation built on Oct. 12, 2024, 12:32 p.m.