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
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