Returns the left-most num characters of the string (or the whole string if shorter).
num
num — number of characters to extract.
log "abcdef".left(3) // "abc"
Last updated 2 months ago