.right(num)
Description
Returns the right-most num characters of the string (or the whole string if shorter).
Parameters
num — number of characters to extract.
Usage
log "abcdef".right(3) // "def"Last updated
Was this helpful?