head.chars {charcuterie} | R Documentation |
Return the First Parts of a chars
Object
Description
Return the First Parts of a chars
Object
Usage
## S3 method for class 'chars'
head(x, ...)
Arguments
x |
a |
... |
further arguments passed to or from other methods. |
Value
the first (n
) elements of a chars
object as a chars
object.
Examples
head(chars("abcdefhgi"))
head(chars("javascript"), 4)
[Package charcuterie version 0.0.3 Index]