Version: v0.5.1 - Beta.  We welcome contributors & feedback.  THanks!

String.left

left(length)

Description

Get the first length characters.

'abcdef'.left(3);
//= 'abc'

See Also