powered by
chars
Return the First Parts of a chars Object
# S3 method for chars head(x, ...)
the first (n) elements of a chars object as a chars object.
n
a chars object.
further arguments passed to or from other methods.
head(chars("abcdefhgi")) head(chars("javascript"), 4)
Run the code above in your browser using DataLab