chars.character {charcuterie}R Documentation

Create a chars Object From a String

Description

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

Details

chars expects a single string as input. To create a list of these, consider lapply(strings, chars)

Value

an object of class chars, essentially splitting the string into individual characters


[Package charcuterie version 0.0.4 Index]