Top  | Previous | Next

Strings / left

left(string, charCount)

Returns count characters from the left side of string, where count and string are the arguments to the function.

 

left("hello", 2)

...returns "he"

 

left("hello", 0)

...returns ""

 

left("hello", 5)

...returns "hello"