head.chars {charcuterie} | R Documentation |
chars
ObjectReturn the First Parts of a chars
Object
## S3 method for class 'chars'
head(x, ...)
x |
a |
... |
further arguments passed to or from other methods. |
the first (n
) elements of a chars
object as a chars
object.
head(chars("abcdefhgi"))
head(chars("javascript"), 4)