Learn R Programming

charcuterie (version 0.0.4)

tail.chars: Return the Last Parts of a chars Object

Description

Return the Last Parts of a chars Object

Usage

# S3 method for chars
tail(x, ...)

Value

the last (n) elements of a chars object as a chars object.

Arguments

x

a chars object.

...

further arguments passed to or from other methods.

Examples

Run this code
tail(chars("javascript"))

tail(chars("abcdefghi"))

Run the code above in your browser using DataLab