filesstrings (version 0.4.0)

StringToVec: Convert a string to a vector of characters

Description

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

Usage

StringToVec(string)

Arguments

string

A string.

Value

A character vector.

Examples

Run this code
StringToVec("abcdef")

Run the code above in your browser using DataLab