Returns the leftmost length characters of the given string
Optional
The text to inspect
The expected length
the leftmost length characters of the given string
David Hsing
left('foobar', 3); // 'foo'left('foobar', 10); // 'foobar' Copy
left('foobar', 3); // 'foo'left('foobar', 10); // 'foobar'
Returns the leftmost length characters of the given string