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

String.left

left($length)

Description

Get the first $length characters.

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

See Also