Create a chars
Object From a String
Usage
# S3 method for class 'character'
chars(x, ...)
Arguments
- x
string to convert to a chars
object (length 1 only).
- ...
unused
Value
an object of class chars
, essentially splitting the string into
individual characters
Details
chars
expects a single string as input. To create a list of these,
consider lapply(strings, chars)